:root {
  color-scheme: light;
  --ink: #20251f;
  --muted: #687066;
  --line: #d4d2cc;
  --paper: #f4f4f1;
  --panel: #ffffff;
  --leaf: #315b43;
  --leaf-dark: #1f352b;
  --moss: #7f8d76;
  --clay: #8e735f;
  --sun: #c9b16c;
  --concrete: #e4e2dc;
  --shadow: 0 18px 55px rgba(24, 25, 23, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(244, 244, 241, 0.94)),
    var(--paper);
  color: var(--ink);
  font-family: "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", Meiryo, system-ui, sans-serif;
  line-height: 1.7;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.premium-button.disabled,
.premium-button[aria-disabled="true"] {
  opacity: 0.55;
  pointer-events: none;
  cursor: not-allowed;
}

.plan-legal-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.app-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(216, 222, 210, 0.8);
  background: rgba(244, 244, 241, 0.92);
  backdrop-filter: blur(18px);
}

.brand {
  display: grid;
  grid-template-columns: 34px auto;
  gap: 9px;
  align-items: center;
  line-height: 1.1;
}

.brand-mark {
  width: 34px;
  height: 34px;
  object-fit: contain;
  opacity: 0.78;
}

.brand-main {
  display: block;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-sub {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.top-nav {
  display: flex;
  gap: 8px;
}

.top-nav a,
.level-tabs button,
.quick-tags button {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  padding: 8px 14px;
  font-size: 14px;
}

.top-nav a:hover,
.level-tabs button:hover,
.quick-tags button:hover {
  border-color: var(--leaf);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(280px, 0.98fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 70px);
  padding: clamp(28px, 6vw, 76px) clamp(18px, 5vw, 72px) 56px;
}

.hero-copy {
  max-width: 720px;
}

.hero-logo {
  display: block;
  width: min(320px, 76vw);
  height: auto;
  margin: 0 0 22px;
  opacity: 0.9;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--leaf);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "HGS明朝E", serif;
  font-size: clamp(34px, 4.9vw, 64px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.18;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 26px;
  line-height: 1.25;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 620px;
  color: var(--muted);
  font-size: 17px;
}

.hero-image {
  overflow: hidden;
  min-height: 520px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.search-panel {
  margin-top: 34px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 36px rgba(29, 50, 34, 0.08);
}

.search-panel label,
.add-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.search-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin-top: 8px;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 12px 14px;
  outline: none;
}

textarea {
  min-height: 96px;
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--leaf);
  box-shadow: 0 0 0 4px rgba(47, 108, 67, 0.12);
}

.search-row button,
.add-form button {
  border: 0;
  border-radius: 8px;
  background: var(--leaf);
  color: #fff;
  padding: 12px 20px;
  font-weight: 800;
}

.search-row button:hover,
.add-form button:hover {
  background: var(--leaf-dark);
}

.quick-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.section {
  padding: 72px clamp(18px, 5vw, 72px);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.section-note {
  max-width: 520px;
  margin-bottom: 0;
  color: var(--muted);
}

.level-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.level-tabs button.active {
  border-color: var(--leaf);
  background: var(--leaf);
  color: #fff;
}

.level-guide {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin: -10px 0 24px;
  border: 1px solid rgba(17, 17, 17, 0.14);
  border-radius: 8px;
  background: rgba(17, 17, 17, 0.14);
}

.level-guide div {
  display: grid;
  gap: 4px;
  background: rgba(244, 243, 238, 0.82);
  padding: 13px 14px;
}

.level-guide strong {
  color: var(--ink);
  font-size: 13px;
}

.level-guide span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.plant-detail {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: 0;
  overflow: hidden;
  min-height: 360px;
  margin-bottom: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.plant-detail.empty {
  display: block;
  min-height: auto;
  padding: 24px;
  color: var(--muted);
}

.plant-detail.empty strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 18px;
}

.plant-detail.empty p {
  margin-bottom: 14px;
  color: var(--muted);
}

.empty-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.empty-actions a {
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  padding: 9px 13px;
  font-size: 13px;
  font-weight: 900;
}

.empty-actions a:last-child {
  background: #deddd6;
  color: #171716;
}

.detail-media {
  position: relative;
  min-height: 360px;
  background: #e7ebdc;
}

.detail-media img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.detail-image-note {
  position: absolute;
  right: 16px;
  bottom: 16px;
  border-radius: 999px;
  background: rgba(244, 243, 238, 0.9);
  color: #4f544a;
  padding: 7px 11px;
  font-size: 12px;
  font-weight: 900;
}

.plant-image-placeholder,
.plant-card-placeholder {
  display: grid;
  place-items: center;
  min-height: 360px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent 32%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 7px),
    #d9d8d1;
  color: #242421;
  padding: 24px;
  text-align: center;
}

.plant-image-placeholder {
  align-content: center;
  gap: 8px;
  height: 100%;
}

.plant-image-placeholder span,
.plant-card-placeholder span {
  border: 1px solid rgba(17, 17, 17, 0.14);
  border-radius: 999px;
  background: rgba(244, 243, 238, 0.82);
  color: #555552;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 900;
}

.plant-image-placeholder strong {
  max-width: 92%;
  color: #111111;
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 500;
  line-height: 1.16;
}

.plant-image-placeholder small {
  max-width: 260px;
  color: #666663;
  font-size: 13px;
}

.plant-card-placeholder {
  min-height: auto;
  aspect-ratio: 4 / 3;
}

.level-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  border-radius: 999px;
  background: rgba(32, 37, 31, 0.8);
  color: #fff;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 800;
}

.detail-body {
  padding: clamp(22px, 4vw, 42px);
}

.aliases {
  color: var(--muted);
  font-size: 14px;
}

.plant-qr-panel {
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  margin-top: 20px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(228, 226, 220, 0.76)),
    var(--concrete);
}

.plant-qr-code {
  display: grid;
  place-items: center;
  width: 148px;
  min-height: 148px;
  padding: 8px;
  border: 1px solid rgba(32, 37, 31, 0.18);
  border-radius: 6px;
  background: #fff;
}

.plant-qr-code svg {
  display: block;
  width: 100%;
  height: auto;
}

.plant-qr-copy {
  min-width: 0;
}

.plant-qr-copy strong {
  display: block;
  margin-top: 3px;
  color: var(--ink);
  font-size: 16px;
}

.plant-qr-copy p {
  margin: 6px 0 10px;
  color: var(--muted);
  font-size: 13px;
}

.plant-qr-label {
  color: var(--leaf-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.qr-url {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.qr-url input {
  min-width: 0;
  padding: 8px 10px;
  color: var(--muted);
  font-size: 12px;
}

.qr-url button {
  border: 0;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 800;
}

@media (max-width: 620px) {
  .plant-qr-panel {
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 12px;
    padding: 12px;
  }

  .plant-qr-code {
    width: 112px;
    min-height: 112px;
    padding: 6px;
  }

  .plant-qr-copy strong {
    font-size: 14px;
  }

  .plant-qr-copy p {
    font-size: 12px;
  }

  .qr-url {
    grid-template-columns: 1fr;
  }
}

.care-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.customer-care-board {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  border: 1px solid rgba(47, 108, 67, 0.22);
  border-radius: 8px;
  background: #f7f9f1;
  padding: 16px;
}

.care-board-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.care-board-head span,
.care-board-head a {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 900;
}

.care-board-head span {
  background: #edf3e8;
  color: var(--leaf-dark);
}

.care-board-head a {
  background: var(--leaf);
  color: #fff;
}

.care-board-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.care-board-grid > div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 14px;
}

.care-board-grid strong {
  display: block;
  margin-bottom: 6px;
  color: var(--leaf-dark);
  font-size: 13px;
}

.care-board-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.access-note {
  display: grid;
  gap: 5px;
  margin: 14px 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f4f4ef;
  padding: 13px 14px;
}

.access-note strong {
  color: var(--ink);
  font-size: 14px;
}

.access-note p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
}

.access-note.customer {
  border-color: rgba(69, 94, 71, 0.28);
  background: #eef3ea;
}

.access-note.preview {
  border-color: rgba(32, 37, 31, 0.18);
  background: #f6f5f0;
}

.premium-teaser {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  border: 1px solid rgba(241, 201, 107, 0.72);
  border-radius: 8px;
  background: #fffaf0;
  padding: 16px;
}

.premium-teaser > span {
  width: fit-content;
  border-radius: 999px;
  background: #fff3d1;
  color: #7a5316;
  padding: 4px 9px;
  font-size: 12px;
  font-weight: 800;
}

.premium-teaser strong {
  display: block;
  margin-bottom: 3px;
}

.premium-teaser p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.free-paid-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.free-paid-grid > div {
  border: 1px solid rgba(184, 109, 69, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  padding: 14px;
}

.free-paid-grid .paid-column {
  border-color: rgba(241, 201, 107, 0.86);
  background: #fff6db;
}

.free-paid-grid ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 13px;
}

.premium-lock {
  border-top: 1px solid rgba(184, 109, 69, 0.2);
  padding-top: 10px;
  color: #7a5316 !important;
  font-weight: 800;
}

.care-item,
.plant-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.care-item {
  padding: 16px;
}

.care-item span,
.role-label,
.card-level {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 7px;
  border-radius: 999px;
  background: #edf3e8;
  color: var(--leaf-dark);
  padding: 4px 9px;
  font-size: 12px;
  font-weight: 800;
}

.care-item p,
.plant-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.card-grid {
  display: grid;
  gap: 16px;
}

.plant-accordion {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
}

.plant-accordion summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 16px;
  align-items: center;
  min-height: 68px;
  padding: 18px 20px;
  cursor: pointer;
  list-style: none;
}

.plant-accordion summary::-webkit-details-marker {
  display: none;
}

.plant-accordion summary::before {
  content: "+";
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  grid-column: 3;
  grid-row: 1;
  border: 1px solid rgba(47, 108, 67, 0.22);
  border-radius: 999px;
  color: var(--leaf-dark);
  font-weight: 900;
}

.plant-accordion[open] summary::before {
  content: "−";
}

.plant-accordion summary span {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.plant-accordion summary strong {
  color: var(--ink);
  font-size: clamp(18px, 2vw, 24px);
}

.plant-accordion summary small {
  color: var(--muted);
  font-size: 13px;
}

.plant-accordion summary em {
  grid-column: 2;
  grid-row: 1;
  color: var(--leaf-dark);
  font-size: 13px;
  font-style: normal;
  font-weight: 900;
  white-space: nowrap;
}

.plant-accordion-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 0 16px 16px;
}

.plant-card {
  overflow: hidden;
}

.plant-card button {
  display: grid;
  width: 100%;
  min-height: 100%;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
}

.plant-card-media {
  position: relative;
}

.plant-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.plant-card-image-note {
  position: absolute;
  top: 12px;
  right: 12px;
  border-radius: 999px;
  background: rgba(244, 243, 238, 0.92);
  color: #4f544a;
  padding: 5px 9px;
  font-size: 11px;
  font-weight: 900;
}

.plant-card-placeholder {
  width: 100%;
}

.plant-card-body {
  padding: 16px;
}

.plant-card h3 {
  margin-bottom: 6px;
  font-size: 20px;
}

.diagnosis-section {
  background: #f3f5ed;
}

.pass-section {
  background: #fbfbf4;
}

.my-plants-section {
  background: #f3f5ed;
}

.my-plants-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: 16px;
  align-items: start;
}

.my-plant-form,
.my-plant-card,
.my-plant-empty {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.my-plant-form {
  display: grid;
  gap: 14px;
  padding: clamp(20px, 3vw, 28px);
  box-shadow: 0 14px 40px rgba(29, 50, 34, 0.08);
}

.my-plant-form label {
  display: grid;
  gap: 7px;
  color: var(--leaf-dark);
  font-size: 13px;
  font-weight: 800;
}

.my-plant-form input,
.my-plant-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfbf4;
  color: var(--ink);
  padding: 11px 12px;
  font: inherit;
  font-weight: 500;
}

.my-plant-form textarea {
  min-height: 88px;
  resize: vertical;
}

.my-plant-form button,
.my-plant-actions button {
  border: 0;
  border-radius: 8px;
  background: var(--leaf);
  color: #fff;
  padding: 12px 14px;
  font-weight: 900;
}

.my-plants-list {
  display: grid;
  gap: 12px;
}

.my-plant-empty {
  color: var(--muted);
  padding: 22px;
}

.my-plant-card {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.my-plant-card span {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 8px;
  border-radius: 999px;
  background: #edf3e8;
  color: var(--leaf-dark);
  padding: 4px 9px;
  font-size: 12px;
  font-weight: 800;
}

.my-plant-card h3 {
  margin-bottom: 4px;
  font-size: 22px;
}

.my-plant-card p,
.my-plant-card dd {
  margin: 0;
  color: var(--muted);
}

.my-plant-card dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.my-plant-card dl > div:last-child {
  grid-column: 1 / -1;
}

.my-care-status {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.my-care-status > div,
.my-plant-checklist {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfbf4;
  padding: 12px;
}

.my-care-status strong,
.my-plant-checklist strong {
  display: block;
  margin-bottom: 5px;
  color: var(--leaf-dark);
  font-size: 13px;
}

.my-care-status p {
  margin-bottom: 0;
}

.my-plant-checklist ul {
  display: grid;
  gap: 5px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 14px;
}

.my-plant-card dt {
  margin-bottom: 3px;
  color: var(--leaf-dark);
  font-size: 12px;
  font-weight: 800;
}

.my-plant-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.my-plant-actions button:last-child {
  background: #edf3e8;
  color: var(--leaf-dark);
}

.my-plant-actions [data-water-my-plant] {
  background: var(--sun);
  color: #241b08;
}

.support-settings {
  display: grid;
  grid-template-columns: minmax(240px, 0.7fr) minmax(0, 1fr) minmax(260px, 0.8fr);
  gap: 14px;
  align-items: start;
  margin-top: 18px;
  border: 1px solid rgba(47, 108, 67, 0.22);
  border-radius: 8px;
  background: #fff;
  padding: clamp(18px, 3vw, 24px);
  box-shadow: 0 14px 40px rgba(29, 50, 34, 0.08);
}

.support-copy h3 {
  margin-bottom: 8px;
}

.support-copy p {
  color: var(--muted);
}

.support-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.support-form label {
  display: grid;
  gap: 7px;
  min-width: 0;
  color: var(--leaf-dark);
  font-size: 13px;
  font-weight: 800;
}

.support-form input,
.support-form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfbf4;
  color: var(--ink);
  padding: 11px 12px;
  font: inherit;
  font-weight: 500;
}

.support-form button {
  grid-column: 1 / -1;
  border: 0;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  padding: 12px 14px;
  font-weight: 900;
}

.support-status {
  min-height: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7f9f1;
  color: var(--muted);
  padding: 14px;
  font-size: 14px;
}

.support-status strong {
  display: block;
  margin-bottom: 6px;
  color: var(--leaf-dark);
}

.support-status p {
  margin: 8px 0 0;
  color: var(--muted);
}

.renewal-alert {
  border: 1px solid rgba(47, 108, 67, 0.18);
  border-radius: 8px;
  background: #fff;
  padding: 9px 10px;
  font-weight: 800;
}

.renewal-alert.soon {
  border-color: rgba(194, 142, 33, 0.32);
  background: #fff8df;
  color: #7a5316;
}

.renewal-alert.due {
  border-color: rgba(142, 63, 48, 0.3);
  background: #fff1ec;
  color: #7a3527;
}

.premium-card-panel {
  display: grid;
  justify-items: center;
  margin-top: 18px;
}

.premium-member-card {
  position: relative;
  display: grid;
  gap: 22px;
  overflow: hidden;
  width: min(100%, 680px);
  min-height: 380px;
  border: 1px solid rgba(255, 226, 134, 0.9);
  border-radius: 8px;
  background:
    radial-gradient(circle at 18% 8%, rgba(255, 255, 255, 0.75), transparent 26%),
    linear-gradient(120deg, rgba(255, 246, 192, 0.96), rgba(199, 141, 45, 0.96) 38%, rgba(117, 78, 18, 0.98) 72%, rgba(248, 218, 120, 0.96)),
    #c8952e;
  color: #fff9df;
  padding: clamp(24px, 4vw, 36px);
  box-shadow: 0 32px 80px rgba(65, 43, 13, 0.28);
  isolation: isolate;
}

.premium-member-card.inactive {
  border-color: var(--line);
  background:
    linear-gradient(135deg, rgba(255, 243, 209, 0.56), rgba(255, 255, 255, 0.92)),
    #fff;
  color: var(--ink);
  box-shadow: none;
}

.premium-member-card::before,
.premium-member-card::after,
.member-card-shine {
  position: absolute;
  content: "";
  pointer-events: none;
}

.premium-member-card::before {
  inset: 1px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 7px;
  z-index: -1;
}

.premium-member-card::after {
  right: -12px;
  bottom: -74px;
  width: 240px;
  height: 292px;
  background: url("assets/images/racine-root-mark.webp") center / contain no-repeat;
  opacity: 0.16;
  z-index: -1;
}

.member-card-shine {
  inset: -80px auto auto -100px;
  width: 360px;
  height: 180px;
  transform: rotate(-24deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.34), transparent);
  z-index: -1;
}

.member-card-top,
.member-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.member-card-top span,
.member-card-footer span {
  border-radius: 999px;
  background: rgba(32, 37, 31, 0.82);
  color: #fff9df;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.member-card-top small {
  color: rgba(255, 249, 223, 0.88);
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.member-card-off {
  display: block;
  margin-bottom: 14px;
  color: #fffdf0;
  font-size: clamp(44px, 7vw, 76px);
  line-height: 0.95;
  text-shadow: 0 3px 18px rgba(48, 31, 8, 0.35);
}

.member-card-body p {
  margin-bottom: 14px;
  color: inherit;
  font-weight: 700;
}

.member-card-renewal {
  display: inline-flex;
  width: fit-content;
  border: 1px solid rgba(255, 249, 223, 0.32);
  border-radius: 999px;
  background: rgba(32, 37, 31, 0.34);
  padding: 7px 12px;
  font-size: 13px;
}

.member-card-renewal.soon,
.member-card-renewal.due {
  background: rgba(255, 248, 218, 0.2);
  color: #fffdf0;
}

.member-card-body dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.member-card-body dl > div {
  border: 1px solid rgba(255, 249, 223, 0.28);
  border-radius: 8px;
  background: rgba(32, 37, 31, 0.22);
  padding: 12px;
  backdrop-filter: blur(8px);
}

.member-card-body dt {
  margin-bottom: 4px;
  color: rgba(255, 249, 223, 0.74);
  font-size: 12px;
  font-weight: 900;
}

.member-card-body dd {
  margin: 0;
  color: inherit;
  font-weight: 800;
}

.member-card-footer {
  border-top: 1px solid rgba(255, 249, 223, 0.26);
  padding-top: 14px;
}

.member-card-footer small {
  color: rgba(255, 249, 223, 0.78);
  font-weight: 800;
}

.member-card-footer button {
  border: 1px solid rgba(255, 249, 223, 0.36);
  border-radius: 999px;
  background: rgba(32, 37, 31, 0.82);
  color: #fff9df;
  padding: 8px 13px;
  font-size: 12px;
  font-weight: 900;
}

.premium-member-card.inactive .member-card-top span,
.premium-member-card.inactive .member-card-footer span {
  background: #edf3e8;
  color: var(--leaf-dark);
}

.premium-member-card.inactive .member-card-top small,
.premium-member-card.inactive .member-card-footer small {
  color: var(--muted);
}

.premium-member-card.inactive .member-card-off {
  color: #7a5316;
  text-shadow: none;
}

.premium-member-card.inactive .member-card-body dl > div {
  border-color: var(--line);
  background: #fbfbf4;
  backdrop-filter: none;
}

.premium-member-card.inactive .member-card-body dt {
  color: var(--leaf-dark);
}

.modal-open {
  overflow: hidden;
}

.member-card-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  place-items: center;
  padding: clamp(18px, 4vw, 44px);
}

.member-card-modal.open {
  display: grid;
}

.member-card-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(19, 24, 18, 0.72);
  backdrop-filter: blur(10px);
}

.member-card-modal-body {
  position: relative;
  z-index: 1;
  width: min(100%, 920px);
}

.member-card-close {
  display: block;
  margin: 0 0 12px auto;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  padding: 9px 15px;
  font-weight: 900;
}

.member-card-modal-content .premium-member-card {
  width: 100%;
  min-height: min(68vh, 560px);
  border-radius: 8px;
  padding: clamp(28px, 5vw, 54px);
  box-shadow: 0 36px 110px rgba(0, 0, 0, 0.36);
}

.member-card-modal-content .member-card-off {
  font-size: clamp(50px, 9vw, 104px);
}

.member-card-modal-content [data-show-member-card] {
  display: none;
}

.discount-panel {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(260px, 0.7fr) minmax(0, 1.1fr);
  gap: 14px;
  align-items: start;
  margin-top: 18px;
  border: 1px solid rgba(241, 201, 107, 0.66);
  border-radius: 8px;
  background: #fffaf0;
  padding: clamp(18px, 3vw, 24px);
  box-shadow: 0 14px 40px rgba(75, 56, 21, 0.08);
}

.discount-copy h3 {
  margin-bottom: 8px;
}

.discount-copy p {
  color: var(--muted);
}

.discount-form {
  display: grid;
  gap: 10px;
}

.discount-form label {
  display: grid;
  gap: 7px;
  color: #7a5316;
  font-size: 13px;
  font-weight: 900;
}

.discount-form input {
  width: 100%;
  border: 1px solid rgba(241, 201, 107, 0.72);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 12px;
  font: inherit;
  font-size: 18px;
  font-weight: 800;
}

.discount-form button {
  border: 0;
  border-radius: 8px;
  background: var(--sun);
  color: #241b08;
  padding: 12px 14px;
  font-weight: 900;
}

.discount-result {
  min-height: 100%;
  border: 1px solid rgba(241, 201, 107, 0.72);
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
  padding: 14px;
  font-size: 14px;
}

.discount-result strong {
  display: block;
  margin-bottom: 10px;
  color: #7a5316;
  font-size: 18px;
}

.discount-result dl {
  display: grid;
  gap: 8px;
  margin: 0 0 10px;
}

.discount-result dl > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid rgba(122, 83, 22, 0.12);
  padding-bottom: 8px;
}

.discount-result dt {
  color: var(--muted);
  font-weight: 800;
}

.discount-result dd {
  margin: 0;
  color: var(--ink);
  font-size: 18px;
  font-weight: 900;
}

.discount-result dl > div:last-child dd {
  color: var(--leaf-dark);
  font-size: 24px;
}

.consult-panel {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(260px, 0.7fr) minmax(0, 1.1fr);
  gap: 14px;
  align-items: start;
  margin-top: 18px;
  border: 1px solid rgba(47, 108, 67, 0.22);
  border-radius: 8px;
  background: #fff;
  padding: clamp(18px, 3vw, 24px);
  box-shadow: 0 14px 40px rgba(29, 50, 34, 0.08);
}

.consult-copy h3 {
  margin-bottom: 8px;
}

.consult-copy p {
  color: var(--muted);
}

.consult-tools {
  display: grid;
  gap: 10px;
}

.consult-tools label {
  display: grid;
  gap: 7px;
  color: var(--leaf-dark);
  font-size: 13px;
  font-weight: 800;
}

.consult-tools select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfbf4;
  color: var(--ink);
  padding: 11px 12px;
  font: inherit;
}

.consult-tools button,
.consult-output button {
  border: 0;
  border-radius: 8px;
  background: var(--leaf);
  color: #fff;
  padding: 12px 14px;
  font-weight: 900;
}

.consult-output {
  display: grid;
  gap: 10px;
  min-height: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7f9f1;
  color: var(--muted);
  padding: 14px;
  font-size: 14px;
}

.consult-output textarea {
  min-height: 230px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 12px;
  font: inherit;
  line-height: 1.75;
  resize: vertical;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.price-card {
  display: grid;
  align-content: start;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 22px;
  min-height: 330px;
}

.price-card.featured {
  border-color: rgba(241, 201, 107, 0.85);
  box-shadow: var(--shadow);
}

.price-card .price {
  display: block;
  font-size: 28px;
  line-height: 1.1;
}

.price-card ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.care-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.care-flow article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 18px;
}

.care-flow span {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 10px;
  border-radius: 999px;
  background: #edf3e8;
  color: var(--leaf-dark);
  padding: 4px 9px;
  font-size: 12px;
  font-weight: 800;
}

.care-flow strong {
  display: block;
  margin-bottom: 7px;
}

.care-flow p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.signup-panel {
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) minmax(280px, 0.75fr) minmax(0, 1.18fr);
  gap: 14px;
  align-items: start;
  margin-top: 18px;
  border: 1px solid rgba(47, 108, 67, 0.22);
  border-radius: 8px;
  background: #fff;
  padding: clamp(18px, 3vw, 24px);
  box-shadow: 0 14px 40px rgba(29, 50, 34, 0.08);
}

.signup-copy h3 {
  margin-bottom: 8px;
}

.signup-copy p {
  color: var(--muted);
}

.signup-tools {
  display: grid;
  gap: 10px;
}

.signup-tools label {
  display: grid;
  gap: 7px;
  color: var(--leaf-dark);
  font-size: 13px;
  font-weight: 800;
}

.signup-tools select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfbf4;
  color: var(--ink);
  padding: 11px 12px;
  font: inherit;
}

.signup-tools button,
.signup-output button {
  border: 0;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  padding: 12px 14px;
  font-weight: 900;
}

.signup-tools button.secondary {
  border: 1px solid rgba(47, 108, 67, 0.24);
  background: #edf3e8;
  color: var(--leaf-dark);
}

.signup-output {
  display: grid;
  gap: 10px;
  min-height: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7f9f1;
  color: var(--muted);
  padding: 14px;
  font-size: 14px;
}

.signup-output textarea {
  min-height: 230px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 12px;
  font: inherit;
  line-height: 1.75;
  resize: vertical;
}

.premium-program {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 22px;
}

.program-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.program-head h3 {
  margin-bottom: 0;
}

.program-head > span {
  border-radius: 999px;
  background: #fff3d1;
  color: #7a5316;
  padding: 6px 11px;
  font-size: 12px;
  font-weight: 800;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.program-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfbf4;
  padding: 16px;
}

.program-card > span {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 8px;
  border-radius: 999px;
  background: #edf3e8;
  color: var(--leaf-dark);
  padding: 4px 9px;
  font-size: 12px;
  font-weight: 800;
}

.program-card strong {
  display: block;
  margin-bottom: 8px;
}

.program-card ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 14px;
}

.program-card p {
  color: var(--muted);
  font-size: 14px;
}

.program-card small {
  display: block;
  border-top: 1px solid rgba(184, 109, 69, 0.22);
  color: #7a5316;
  padding-top: 8px;
  font-weight: 800;
}

.program-card.locked {
  background: #fffaf0;
  border-color: rgba(241, 201, 107, 0.72);
}

.diagnosis-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 16px;
}

.diagnosis-panel,
.premium-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: clamp(20px, 3vw, 30px);
  box-shadow: 0 14px 40px rgba(29, 50, 34, 0.08);
}

.plan-badge {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 14px;
  border-radius: 999px;
  background: #edf3e8;
  color: var(--leaf-dark);
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 800;
}

.plan-badge.premium {
  background: #fff3d1;
  color: #7a5316;
}

.symptom-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0;
}

.symptom-grid button {
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfbf4;
  color: var(--ink);
  padding: 10px 12px;
  font-weight: 800;
}

.symptom-grid button.active,
.symptom-grid button:hover {
  border-color: var(--leaf);
  background: var(--leaf);
  color: #fff;
}

.diagnosis-result {
  min-height: 92px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7f9f1;
  color: var(--muted);
  padding: 16px;
}

.diagnosis-result strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
}

.diagnosis-upsell {
  margin-top: 10px;
  border-top: 1px solid rgba(184, 109, 69, 0.2);
  color: #7a5316 !important;
  padding-top: 8px;
  font-weight: 800;
}

.premium-panel {
  background: #20251f;
  color: #fff;
}

.premium-panel h3,
.premium-panel p {
  color: inherit;
}

.premium-list {
  display: grid;
  gap: 9px;
  margin: 0 0 22px;
  padding-left: 18px;
}

.premium-list li {
  color: rgba(255, 255, 255, 0.82);
}

.premium-button {
  display: inline-flex;
  justify-content: center;
  width: 100%;
  border-radius: 8px;
  background: var(--sun);
  color: #241b08;
  padding: 13px 16px;
  font-weight: 900;
}

.premium-note {
  margin-top: 12px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
}

.affiliate-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.ad-notice {
  margin: -8px 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7f9f1;
  color: var(--muted);
  padding: 12px 14px;
  font-size: 13px;
}

.affiliate-card {
  display: grid;
  align-content: start;
  gap: 8px;
  min-height: 156px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 18px;
  text-decoration: none;
  color: inherit;
}

.affiliate-card span {
  width: fit-content;
  border-radius: 999px;
  background: #edf3e8;
  color: var(--leaf-dark);
  padding: 4px 9px;
  font-size: 12px;
  font-weight: 800;
}

.affiliate-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.affiliate-card small {
  color: var(--leaf-dark);
  font-size: 12px;
  font-weight: 700;
}

.affiliate-card-disabled {
  background: #f7f9f1;
}

.add-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.add-form label:nth-child(3),
.add-form label:nth-child(4),
.add-form label:nth-child(5),
.add-form button {
  grid-column: 1 / -1;
}

@media (max-width: 940px) {
  .hero,
  .plant-detail,
  .diagnosis-layout,
  .my-plants-layout,
  .support-settings,
  .discount-panel,
  .consult-panel,
  .signup-panel,
  .difference-grid,
  .access-policy-grid,
  .pricing-grid,
  .care-flow,
  .program-grid,
  .card-grid,
  .plant-accordion-grid {
    grid-template-columns: 1fr;
  }

  .program-head {
    align-items: start;
    flex-direction: column;
  }

  .affiliate-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero {
    min-height: auto;
  }

  .hero-image,
  .hero-image img {
    min-height: 360px;
  }

  .section-head {
    align-items: start;
    flex-direction: column;
  }

}

@media (max-width: 620px) {
  body {
    padding-bottom: 74px;
  }

  .app-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .top-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .top-nav a {
    flex: 0 0 auto;
    padding: 7px 12px;
    text-align: center;
    white-space: nowrap;
  }

  .search-row,
  .qr-url,
  .care-grid,
  .care-board-grid,
  .care-pass-intro,
  .customer-steps,
  .trust-strip,
  .level-guide,
  .free-paid-grid,
  .my-care-status,
  .my-plant-card dl,
  .support-form,
  .member-card-body dl,
  .symptom-grid,
  .affiliate-grid,
  .add-form {
    grid-template-columns: 1fr;
  }

  .add-form label:nth-child(3),
  .add-form label:nth-child(4),
  .add-form label:nth-child(5),
  .add-form button {
    grid-column: auto;
  }

  .section {
    padding: 48px 16px;
  }

  .hero-actions a {
    flex: 1 1 100%;
  }

  .trust-strip {
    margin: -18px 16px 12px;
  }

  .level-guide {
    margin: -4px 0 18px;
  }

  .level-guide div {
    padding: 12px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer a {
    width: 100%;
    text-align: center;
  }

  .mobile-action-bar {
    position: fixed;
    right: 12px;
    bottom: 12px;
    left: 12px;
    z-index: 40;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    background: rgba(17, 17, 17, 0.92);
    box-shadow: 0 18px 44px rgba(17, 17, 17, 0.28);
    backdrop-filter: blur(16px);
  }

  .mobile-action-bar a {
    display: grid;
    place-items: center;
    min-height: 48px;
    background: rgba(255, 255, 255, 0.055);
    color: #f4f3ee;
    font-size: 13px;
    font-weight: 900;
  }

  .mobile-action-bar a:nth-child(2) {
    background: rgba(244, 243, 238, 0.9);
    color: #111111;
  }

  .section-head {
    gap: 14px;
    margin-bottom: 18px;
  }

  .plant-detail {
    margin-bottom: 18px;
  }

  .detail-media,
  .detail-media img {
    min-height: 300px;
  }

  .detail-body {
    padding: 20px 18px;
  }

  .detail-body h3 {
    font-size: 30px;
  }

  .qr-url {
    align-items: stretch;
  }

  .qr-url span {
    font-size: 11px;
  }

  .qr-url button {
    width: 100%;
  }

  .customer-care-board,
  .premium-teaser {
    padding: 14px;
  }

  .care-board-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .plant-card img {
    aspect-ratio: 1 / 1;
  }

  .plant-card button {
    grid-template-columns: 116px minmax(0, 1fr);
    align-items: stretch;
  }

  .plant-card img {
    height: 100%;
    min-height: 136px;
  }

  .plant-card-placeholder {
    min-height: 136px;
    height: 100%;
    aspect-ratio: auto;
  }

  .plant-card-body {
    padding: 14px;
  }

  .plant-card h3 {
    font-size: 20px;
  }

  .plant-card p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }
}

/* racine concrete theme */
:root {
  color-scheme: light;
  --ink: #111111;
  --muted: #666663;
  --line: #d2d2cd;
  --paper: #e7e6df;
  --panel: #f4f3ee;
  --leaf: #2e2e2b;
  --leaf-dark: #111111;
  --moss: #777772;
  --clay: #55524d;
  --sun: #c7b98a;
  --shadow: 0 22px 70px rgba(18, 18, 17, 0.18);
}

body {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent 34%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 6px),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.025) 0 1px, transparent 1px 7px),
    #e1e0d9;
}

.app-header {
  border-bottom-color: rgba(255, 255, 255, 0.08);
  background: rgba(17, 17, 17, 0.92);
  color: #f1f0ea;
}

.brand-mark {
  filter: invert(1);
  opacity: 0.72;
}

.brand-sub,
.app-header .brand-sub {
  color: #aaa9a2;
}

.top-nav a {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: #f1f0ea;
}

.top-nav a:hover {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.12);
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(17, 17, 17, 0.08), transparent 44%),
    linear-gradient(0deg, rgba(255, 255, 255, 0.18), transparent 58%);
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background-image: url("assets/images/racine-root-mark.webp");
  background-position: right 8vw bottom 7vh;
  background-repeat: no-repeat;
  background-size: min(44vw, 520px) auto;
  filter: grayscale(1);
  opacity: 0.055;
}

.hero-copy,
.hero-image {
  position: relative;
}

.hero-logo {
  filter: grayscale(1) contrast(1.08);
  opacity: 0.82;
}

.eyebrow {
  color: #31312f;
}

.search-panel,
.plant-detail,
.diagnosis-panel,
.premium-panel,
.pricing-card,
.care-flow article,
.premium-program,
.my-plant-form,
.my-plant-card,
.support-settings,
.premium-card-panel,
.discount-panel,
.consult-panel,
.signup-panel,
.affiliate-card,
.add-form {
  border-color: rgba(17, 17, 17, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(244, 243, 238, 0.88)),
    #f4f3ee;
  box-shadow: 0 18px 55px rgba(18, 18, 17, 0.1);
}

.hero-image {
  border: 1px solid rgba(17, 17, 17, 0.12);
  filter: saturate(0.72) contrast(1.04);
}

.level-tabs button,
.quick-tags button,
.symptom-grid button,
.care-flow span,
.plan-badge,
.my-care-status span,
.program-pill,
.member-card-renewal,
.renewal-alert,
.ad-notice {
  border-color: rgba(17, 17, 17, 0.12);
  background: #deddd6;
  color: #171716;
}

input,
textarea,
select,
.support-form input,
.support-form select,
.discount-form input,
.signup-tools select {
  border-color: rgba(17, 17, 17, 0.16);
  background: #f7f6f0;
  color: #111111;
}

button,
.search-row button,
.add-form button,
.support-form button,
.discount-form button,
.consult-tools button,
.signup-tools button,
.signup-output button,
.premium-button {
  background: #111111;
  color: #f4f3ee;
}

.signup-tools button.secondary,
.consult-output button,
.discount-result,
.support-status,
.signup-output,
.diagnosis-result,
.my-plant-empty {
  border-color: rgba(17, 17, 17, 0.12);
  background: #e9e8e1;
  color: #555552;
}

.premium-member-card {
  border-color: rgba(255, 255, 255, 0.24);
  background:
    radial-gradient(circle at 16% 10%, rgba(255, 255, 255, 0.18), transparent 25%),
    linear-gradient(120deg, #30302e, #111111 44%, #3e3d39 100%),
    #161616;
  color: #f1f0ea;
  box-shadow: 0 34px 86px rgba(17, 17, 17, 0.34);
}

.premium-member-card::before {
  border-color: rgba(255, 255, 255, 0.16);
}

.premium-member-card::after {
  filter: invert(1) grayscale(1);
  opacity: 0.13;
}

.member-card-top span,
.member-card-footer span,
.member-card-footer button {
  background: rgba(255, 255, 255, 0.1);
  color: #f1f0ea;
}

.member-card-off {
  color: #f1f0ea;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.42);
}

.member-card-body dl > div {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.075);
}

.premium-member-card.inactive {
  border-color: rgba(17, 17, 17, 0.14);
  background: linear-gradient(135deg, #f1f0ea, #d9d8d1);
}

.hero h1 {
  margin-bottom: 8px;
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "HGS明朝E", serif;
  font-size: clamp(36px, 4.6vw, 62px);
  font-weight: 500;
  line-height: 1.08;
}

.hero-subtitle {
  margin-bottom: 20px;
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "HGS明朝E", serif;
  color: #1a1a18;
  font-size: clamp(22px, 2.4vw, 34px);
  line-height: 1.25;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 22px;
}

.hero-stats span {
  border: 1px solid rgba(17, 17, 17, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.32);
  color: #242421;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.customer-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin-top: 18px;
  border: 1px solid rgba(17, 17, 17, 0.14);
  border-radius: 8px;
  background: rgba(17, 17, 17, 0.14);
}

.customer-steps span {
  background: rgba(244, 243, 238, 0.74);
  color: #242421;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 800;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 18px;
}

.hero-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid rgba(17, 17, 17, 0.16);
  border-radius: 8px;
  background: #111111;
  color: #f4f3ee;
  padding: 10px 15px;
  font-size: 13px;
  font-weight: 900;
}

.hero-actions a:nth-child(2) {
  background: rgba(244, 243, 238, 0.86);
  color: #111111;
}

.hero-actions a:nth-child(3) {
  background: linear-gradient(135deg, #2b2b29, #111111 62%, #3b3a36);
  color: #f1f0ea;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin: -32px clamp(18px, 5vw, 72px) 28px;
  border: 1px solid rgba(17, 17, 17, 0.14);
  border-radius: 8px;
  background: rgba(17, 17, 17, 0.14);
  box-shadow: 0 18px 55px rgba(18, 18, 17, 0.1);
}

.trust-strip div {
  display: grid;
  gap: 4px;
  background: rgba(244, 243, 238, 0.92);
  padding: 16px;
}

.trust-strip strong {
  color: #111111;
}

.trust-strip span {
  color: #555552;
  font-size: 13px;
}

.difference-section {
  background:
    linear-gradient(180deg, rgba(17, 17, 17, 0.05), rgba(17, 17, 17, 0)),
    #f4f3ee;
}

.difference-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.difference-grid article {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 230px;
  border: 1px solid rgba(17, 17, 17, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(232, 231, 224, 0.9)),
    #efeee8;
  padding: 22px;
  box-shadow: 0 14px 38px rgba(18, 18, 17, 0.08);
}

.difference-grid span {
  width: fit-content;
  border-bottom: 1px solid rgba(17, 17, 17, 0.28);
  color: #555552;
  padding-bottom: 4px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.difference-grid strong {
  color: #111111;
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.35;
}

.difference-grid p {
  margin-bottom: 0;
  color: #555552;
}

.pass-section {
  background:
    linear-gradient(180deg, rgba(17, 17, 17, 0.04), transparent 34%),
    #dfded7;
}

.care-pass-intro {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin-bottom: 14px;
  border: 1px solid rgba(17, 17, 17, 0.16);
  border-radius: 8px;
  background: rgba(17, 17, 17, 0.16);
}

.care-pass-intro span {
  background: rgba(244, 243, 238, 0.86);
  color: #1b1b19;
  padding: 13px 16px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.access-policy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 18px;
}

.access-policy-grid article {
  border: 1px solid rgba(17, 17, 17, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(232, 231, 224, 0.88)),
    #f1f0ea;
  padding: 18px;
  box-shadow: 0 12px 36px rgba(18, 18, 17, 0.08);
}

.access-policy-grid span {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 10px;
  border-radius: 999px;
  background: #2b2b29;
  color: #f1f0ea;
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 900;
}

.access-policy-grid strong {
  display: block;
  margin-bottom: 7px;
  color: #111111;
}

.access-policy-grid p {
  margin-bottom: 0;
  color: #555552;
  font-size: 14px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 5vw, 72px);
  border-top: 1px solid rgba(17, 17, 17, 0.12);
  background: #111111;
  color: #f1f0ea;
}

.site-footer img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  filter: invert(1) grayscale(1);
  opacity: 0.68;
}

.site-footer div {
  display: grid;
  flex: 1;
  gap: 3px;
}

.site-footer span {
  color: #aaa9a2;
  font-size: 13px;
}

.site-footer a {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 900;
}

.footer-links {
  display: flex;
  flex: 1;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.footer-links a {
  padding: 8px 10px;
  font-size: 12px;
}

@media (max-width: 620px) {
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

.mobile-action-bar {
  display: none;
}

@media (max-width: 620px) {
  .mobile-action-bar {
    display: grid;
  }
}

.pricing-grid {
  gap: 16px;
}

.price-card {
  position: relative;
  overflow: hidden;
  min-height: 390px;
  border-color: rgba(17, 17, 17, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(232, 231, 224, 0.92)),
    #ededE6;
}

.price-card::after {
  position: absolute;
  right: -28px;
  bottom: -58px;
  width: 190px;
  height: 230px;
  content: "";
  background: url("assets/images/racine-root-mark.webp") center / contain no-repeat;
  filter: grayscale(1);
  opacity: 0.035;
  pointer-events: none;
}

.price-card.featured,
.price-card:last-child {
  border-color: rgba(255, 255, 255, 0.18);
  background:
    radial-gradient(circle at 14% 8%, rgba(255, 255, 255, 0.16), transparent 24%),
    linear-gradient(135deg, #2b2b29, #111111 62%, #3b3a36),
    #161616;
  color: #f1f0ea;
  box-shadow: 0 24px 70px rgba(17, 17, 17, 0.28);
}

.price-card.featured .plan-badge,
.price-card:last-child .plan-badge {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.1);
  color: #f1f0ea;
}

.price-card.featured p,
.price-card.featured ul,
.price-card:last-child p,
.price-card:last-child ul {
  color: rgba(241, 240, 234, 0.78);
}

.price-card .price {
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "HGS明朝E", serif;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 600;
}

.plan-summary {
  border-top: 1px solid currentColor;
  padding-top: 12px;
}
