:root {
  --bg: #f3efe7;
  --paper: #faf8f3;
  --card: #ffffff;
  --ink: #1d2a21;
  --ink-2: #3d4a40;
  --muted: #6d7768;
  --line: #e4ded1;
  --line-2: #d6cebd;
  --green: #2e5a41;
  --green-2: #3f7556;
  --green-soft: #e2ebe2;
  --clay: #c46d48;
  --warn-bg: #fbece0;
  --warn-ink: #8a4417;
  --radius: 16px;
  --shadow-sm: 0 1px 2px rgba(29, 42, 33, .06), 0 2px 8px rgba(29, 42, 33, .05);
  --shadow-md: 0 6px 24px rgba(29, 42, 33, .10);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", system-ui, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font: 15px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
}
button, select, input { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--green); }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
:focus-visible { outline: 2px solid var(--green-2); outline-offset: 2px; }

/* ---------------------------------------------------------------- top bar */
.topbar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 28px; height: 60px; border-bottom: 1px solid var(--line);
  background: rgba(250, 248, 243, .85); backdrop-filter: blur(8px);
  position: relative; z-index: 5;
}
.brand {
  font: 600 23px var(--serif); color: var(--ink); text-decoration: none; letter-spacing: -.01em;
  display: inline-flex; align-items: center; gap: 10px;
}
.brand-mark {
  width: 18px; height: 18px; border-radius: 50% 0 50% 50%;
  background: linear-gradient(135deg, var(--green-2), var(--green)); transform: rotate(-45deg);
}
.nav { display: flex; gap: 4px; }
.nav a {
  text-decoration: none; color: var(--muted); font-weight: 500; font-size: 14px;
  padding: 7px 14px; border-radius: 999px;
}
.nav a:hover { color: var(--ink); background: rgba(0, 0, 0, .04); }
.nav a[aria-current="page"] { color: var(--ink); background: var(--card); box-shadow: var(--shadow-sm); }

/* ---------------------------------------------------------------- studio layout */
.studio-page { height: 100vh; height: 100dvh; display: flex; flex-direction: column; overflow: hidden; }
.studio { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) 420px; }
.viewer {
  position: relative; min-height: 0; overflow: hidden;
  background:
    radial-gradient(80% 70% at 50% 42%, #fffdf9 0%, rgba(255, 253, 249, 0) 70%),
    linear-gradient(180deg, #f6f2ea 0%, #e9e2d5 100%);
}
#view { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; }
.viewer-caption { position: absolute; left: 36px; bottom: 32px; max-width: 440px; }
.eyebrow {
  margin: 0 0 6px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--green-2);
}
.viewer-caption h1 { font: 600 44px/1.02 var(--serif); margin: 0 0 10px; letter-spacing: -.02em; }
.viewer-caption p#design-blurb { margin: 0 0 12px; color: var(--ink-2); max-width: 380px; }
.plant-link {
  display: inline-flex; font-size: 14px; font-weight: 500; text-decoration: none;
  padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .75);
  border: 1px solid var(--line); color: var(--green); backdrop-filter: blur(6px);
}
.plant-link:hover { background: #fff; }
.viewer-hint {
  position: absolute; right: 24px; bottom: 24px; font-size: 12px; color: var(--muted);
  background: rgba(255, 255, 255, .6); padding: 4px 10px; border-radius: 999px;
}
.busy {
  position: absolute; top: 20px; left: 50%; transform: translateX(-50%);
  background: var(--card); border-radius: 999px; padding: 7px 16px; font-size: 13px;
  display: flex; align-items: center; gap: 8px; box-shadow: var(--shadow-md);
}
.busy .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-2); animation: pulse 1s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .25; transform: scale(.7); } }

.loader {
  position: absolute; inset: 0; display: grid; place-items: center; padding: 24px;
  background: linear-gradient(180deg, #f6f2ea, #ece5d8);
}
.loader-card { text-align: center; max-width: 340px; }
.loader-title { font: 500 20px var(--serif); margin: 18px 0 6px; }
.loader-sub { color: var(--muted); font-size: 13px; margin: 0; }
.sprout { position: relative; width: 64px; height: 64px; margin: 0 auto; }
.sprout span {
  position: absolute; left: 50%; bottom: 0; width: 22px; height: 34px; margin-left: -11px;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; background: var(--green-2); transform-origin: 50% 100%;
  animation: sway 2.4s ease-in-out infinite;
}
.sprout span:nth-child(1) { transform: rotate(-38deg); background: var(--green); }
.sprout span:nth-child(2) { height: 44px; animation-delay: .2s; }
.sprout span:nth-child(3) { transform: rotate(38deg); background: #5f9472; animation-delay: .4s; }
@keyframes sway { 50% { translate: 0 -3px; filter: brightness(1.08); } }
.loader.error .sprout span { background: var(--clay); animation: none; }

/* ---------------------------------------------------------------- panel */
.panel {
  background: var(--paper); border-left: 1px solid var(--line);
  display: flex; flex-direction: column; min-height: 0;
}
.steps { display: grid; grid-template-columns: repeat(3, 1fr); padding: 10px 14px 0; gap: 4px; border-bottom: 1px solid var(--line); }
.step {
  background: none; border: 0; padding: 12px 6px 14px; color: var(--muted); font-weight: 500;
  display: flex; align-items: center; justify-content: center; gap: 8px; position: relative;
}
.step span {
  width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
  font-size: 12px; background: var(--line); color: var(--ink-2); transition: background .2s;
}
.step[aria-current="step"] { color: var(--ink); }
.step[aria-current="step"]::after {
  content: ""; position: absolute; left: 22%; right: 22%; bottom: -1px; height: 2px; border-radius: 2px; background: var(--green);
}
.step[aria-current="step"] span { background: var(--green); color: #fff; }

.pane { padding: 24px 26px 26px; overflow-y: auto; flex: 1; display: flex; flex-direction: column; }
.pane h2 { font: 600 26px/1.15 var(--serif); margin: 0 0 4px; letter-spacing: -.01em; }
.pane-lead { margin: 0 0 18px; color: var(--muted); font-size: 14px; }
.pane-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 8px; }
.pane-actions { display: flex; gap: 6px; }
.next { margin-top: auto; }

.primary {
  border: 0; border-radius: 999px; background: var(--green); color: #fff;
  padding: 14px 22px; font-weight: 600; margin-top: 22px; box-shadow: 0 4px 14px rgba(46, 90, 65, .25);
  transition: transform .15s, background .15s, box-shadow .15s;
}
.primary:hover:not(:disabled) { background: #244a35; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(46, 90, 65, .3); }
.primary:disabled { opacity: .45; cursor: default; box-shadow: none; }
.ghost {
  background: var(--card); border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 13px; font-size: 13px; font-weight: 500;
}
.ghost:hover { border-color: var(--line-2); box-shadow: var(--shadow-sm); }

/* design picker */
.group-label {
  font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600;
  margin: 18px 0 10px;
}
#design-list > .group-label:first-child { margin-top: 0; }
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.card {
  text-align: left; background: var(--card); border: 1.5px solid transparent; border-radius: var(--radius);
  padding: 8px 8px 12px; display: flex; flex-direction: column; gap: 1px;
  box-shadow: var(--shadow-sm); transition: transform .18s, box-shadow .18s, border-color .18s;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.card[aria-pressed="true"] { border-color: var(--green); box-shadow: 0 0 0 4px var(--green-soft), var(--shadow-md); }
.card img {
  width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 11px; margin-bottom: 8px;
  background: linear-gradient(180deg, #f6f2ea, #ebe4d7);
}
.card b { font: 600 17px var(--serif); padding: 0 4px; }
.card small { color: var(--muted); font-size: 12.5px; padding: 0 4px; }

/* controls */
.control { padding: 14px 0; border-bottom: 1px solid var(--line); }
#controls .control:last-child { border-bottom: 0; }
.control-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.control-top label { font-weight: 500; }
.control-top output {
  color: var(--ink-2); font-variant-numeric: tabular-nums; font-size: 13px;
  background: var(--bg); padding: 1px 9px; border-radius: 999px;
}
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 22px; background: none; }
input[type="range"]::-webkit-slider-runnable-track {
  height: 4px; border-radius: 4px;
  background: linear-gradient(90deg, var(--green) var(--fill, 50%), var(--line) var(--fill, 50%));
}
input[type="range"]::-moz-range-track { height: 4px; border-radius: 4px; background: var(--line); }
input[type="range"]::-moz-range-progress { height: 4px; border-radius: 4px; background: var(--green); }
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 20px; height: 20px; margin-top: -8px; border-radius: 50%;
  background: #fff; border: 2px solid var(--green); box-shadow: var(--shadow-sm); transition: transform .12s;
}
input[type="range"]::-moz-range-thumb {
  width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 2px solid var(--green);
}
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.15); }
.seg { display: flex; background: var(--bg); border-radius: 999px; padding: 3px; gap: 2px; }
.seg button {
  flex: 1; border: 0; background: none; border-radius: 999px; padding: 7px 4px; font-size: 13px; color: var(--ink-2);
  transition: background .15s;
}
.seg button:hover { color: var(--ink); }
.seg button[aria-pressed="true"] { background: var(--card); color: var(--ink); box-shadow: var(--shadow-sm); font-weight: 600; }
.seed { display: flex; gap: 8px; }
.seed input {
  flex: 1; min-width: 0; border: 1px solid var(--line); border-radius: 12px; padding: 8px 12px; background: var(--card);
  font-variant-numeric: tabular-nums;
}
.seed button { border: 1px solid var(--line); background: var(--card); border-radius: 12px; padding: 0 14px; font-weight: 500; }
.seed button:hover { box-shadow: var(--shadow-sm); }
.switch { display: flex; justify-content: space-between; align-items: center; font-weight: 500; }
.switch input { width: 40px; height: 22px; accent-color: var(--green); }

.swatches { display: flex; gap: 10px; flex-wrap: wrap; }
.swatch {
  width: 34px; height: 34px; border-radius: 50%; border: 0; padding: 0;
  background: conic-gradient(var(--b) 0 25%, var(--a) 25% 100%);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); transition: transform .15s;
}
.swatch:hover { transform: scale(1.08); }
.swatch[aria-pressed="true"] { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12), 0 0 0 3px var(--paper), 0 0 0 5px var(--green); }

/* print step */
.field-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; margin-top: 14px; }
.field-row .field, .field select { min-width: 0; width: 100%; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; font-weight: 500; font-size: 13px; }
.field select {
  border: 1px solid var(--line); border-radius: 12px; padding: 10px 10px; background: var(--card); font-weight: 400; font-size: 14px;
}
.summary { background: var(--card); border-radius: var(--radius); padding: 6px 16px 10px; box-shadow: var(--shadow-sm); }
.summary table { width: 100%; border-collapse: collapse; font-size: 13px; }
.summary th { text-align: left; color: var(--muted); font-weight: 500; padding: 8px 0; border-bottom: 1px solid var(--line); }
.summary td { padding: 7px 0; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.summary td:last-child, .summary th:last-child { text-align: right; }
.summary .total td { font-weight: 600; border-bottom: 0; }
.summary .fineprint { margin: 4px 0 0; }
.bad { color: var(--warn-ink); font-weight: 600; }
.msg { border-radius: 12px; padding: 11px 14px; font-size: 13px; margin-top: 10px; background: var(--green-soft); color: var(--ink-2); }
.msg.warn { background: var(--warn-bg); color: var(--warn-ink); }
.download { width: 100%; }
.fineprint { font-size: 12px; color: var(--muted); margin: 10px 0 0; }
.plant-card-link {
  display: flex; gap: 12px; align-items: center; margin-top: 18px; padding: 14px 16px; border-radius: var(--radius);
  background: var(--green-soft); text-decoration: none; color: var(--ink-2); font-size: 13px;
}
.plant-card-link b { color: var(--ink); font-size: 14px; }
.plant-card-link:hover { background: #d7e4d8; }
.leaf-dot {
  flex: none; width: 34px; height: 34px; border-radius: 50% 0 50% 50%; transform: rotate(-45deg);
  background: linear-gradient(135deg, #5f9472, var(--green));
}

/* ---------------------------------------------------------------- plant guide */
.guide { max-width: 1160px; margin: 0 auto; padding: 56px 28px 80px; }
.guide-hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: end; margin-bottom: 36px; }
.guide-hero h1 { font: 600 clamp(36px, 5vw, 60px)/1.02 var(--serif); margin: 0; letter-spacing: -.025em; }
.guide-hero h1 em { font-style: italic; font-weight: 400; color: var(--green-2); }
.guide-hero p { margin: 0; color: var(--ink-2); font-size: 16px; }
.guide-tabs {
  display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 12px; margin: 0 -2px 18px;
  scrollbar-width: thin; position: sticky; top: 0; z-index: 4; background: var(--bg);
}
.guide-tab {
  flex: none; display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: var(--card);
  border-radius: 999px; padding: 5px 14px 5px 5px; font-weight: 500; font-size: 14px; color: var(--ink-2);
}
.guide-tab img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; background: #efe9de; }
.guide-tab:hover { box-shadow: var(--shadow-sm); }
.guide-tab[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 26px; align-items: center; }
.filters span { font-size: 13px; color: var(--muted); margin-right: 4px; }
.chip-btn {
  border: 1px solid var(--line); background: transparent; border-radius: 999px; padding: 5px 12px; font-size: 13px; color: var(--ink-2);
}
.chip-btn[aria-pressed="true"] { background: var(--green-soft); border-color: #bcd2bf; color: var(--green); font-weight: 600; }

.design-block {
  display: grid; grid-template-columns: 300px 1fr; gap: 28px; padding: 28px; margin-bottom: 22px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 24px;
}
.design-intro img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 16px; background: #efe9de; }
.design-intro h2 { font: 600 30px var(--serif); margin: 14px 0 2px; }
.design-intro .tag { color: var(--muted); margin: 0 0 12px; font-size: 14px; }
.conditions { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; padding: 0; list-style: none; }
.conditions li { font-size: 12px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; color: var(--ink-2); }
.design-intro .tip { font-size: 13px; color: var(--ink-2); margin: 0 0 16px; }
.design-intro .primary { display: inline-block; margin: 0; text-decoration: none; padding: 11px 18px; font-size: 14px; }
.plants { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; align-content: start; }
.plant {
  background: var(--card); border-radius: 18px; padding: 18px; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 10px; transition: transform .18s, box-shadow .18s;
}
.plant:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.plant-art {
  margin: -6px -6px 4px; border-radius: 14px; aspect-ratio: 5 / 4; display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(90% 80% at 50% 30%, #fbf8f1, #efe8db);
}
.plant-art.light-1 { background: radial-gradient(90% 80% at 50% 30%, #f3f5f0, #e2e6dd); }
.plant-art.light-3 { background: radial-gradient(90% 80% at 50% 25%, #fff7e3, #f1e3c6); }
.plant-art svg { width: 100%; height: 100%; }
.plant-art svg.fallback { width: 40%; color: var(--green-2); }
.plant-icon { flex: none; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--green-soft); }
.plant-icon svg { width: 38px; height: 38px; }
.plant h3 { font: 600 18px/1.2 var(--serif); margin: 0; }
.plant .latin { font-style: italic; color: var(--muted); font-size: 13px; margin: 2px 0 0; }
.plant p { margin: 0; font-size: 13.5px; color: var(--ink-2); }
.meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.meta span { font-size: 11.5px; border-radius: 999px; padding: 3px 9px; background: var(--bg); color: var(--ink-2); white-space: nowrap; }
.meta .pet-ok { background: #e3eee4; color: #2e5a41; }
.meta .pet-no { background: #f7e7dc; color: #8a4417; }
.empty { color: var(--muted); font-size: 14px; padding: 12px 0; }
.guide-foot { color: var(--muted); font-size: 13px; margin-top: 30px; max-width: 760px; }

/* ---------------------------------------------------------------- small screens */
@media (max-width: 860px) {
  .studio-page { height: auto; overflow: visible; }
  .studio { grid-template-columns: 1fr; grid-template-rows: 56vh auto; }
  .panel { border-left: 0; border-top: 1px solid var(--line); }
  .pane { overflow: visible; padding: 22px 18px; }
  .viewer-caption { left: 18px; bottom: 16px; right: 18px; }
  .viewer-caption h1 { font-size: 30px; }
  .viewer-caption p#design-blurb, .viewer-hint { display: none; }
  .topbar { padding: 0 16px; }
  .guide { padding: 32px 16px 60px; }
  .guide-hero { grid-template-columns: 1fr; gap: 14px; }
  .design-block { grid-template-columns: 1fr; padding: 18px; }
  .design-intro { display: grid; grid-template-columns: 110px 1fr; gap: 0 16px; align-items: start; }
  .design-intro img { grid-row: span 3; }
  .design-intro h2 { margin-top: 0; font-size: 24px; }
  .design-intro .tip { grid-column: 1 / -1; margin-top: 12px; }
  .design-intro .primary { grid-column: 1 / -1; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------------------------------------------------------------- shared: nav button, account, footer */
.nav { align-items: center; }
.nav-cta {
  background: var(--green) !important; color: #fff !important; margin-left: 6px;
  box-shadow: 0 3px 10px rgba(46, 90, 65, .25);
}
.nav-cta:hover { background: #244a35 !important; }
.account { display: inline-flex; align-items: center; gap: 8px; margin-left: 8px; font-size: 13px; }
.tier-chip {
  font-weight: 600; font-size: 12px; padding: 4px 10px; border-radius: 999px; background: var(--green-soft); color: var(--green);
}
.account button, .account a.small {
  background: none; border: 0; color: var(--muted); font-size: 13px; padding: 4px 6px; text-decoration: none; cursor: pointer;
}
.account button:hover, .account a.small:hover { color: var(--ink); }
.footer {
  display: flex; gap: 22px; justify-content: center; padding: 34px 20px 44px; color: var(--muted); font-size: 13px;
  border-top: 1px solid var(--line);
}
.footer a { color: var(--muted); text-decoration: none; }
.footer a:hover { color: var(--ink); }
.ghost.big { padding: 13px 22px; font-size: 15px; text-decoration: none; color: var(--ink); display: inline-block; }

/* ---------------------------------------------------------------- landing */
.landing { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; padding: 72px 0 56px; }
.hero h1 { font: 600 clamp(40px, 5.6vw, 68px)/1.0 var(--serif); letter-spacing: -.03em; margin: 8px 0 20px; }
.hero h1 em, .pricing-head h1 em { font-style: italic; font-weight: 400; color: var(--green-2); }
.hero-lead { font-size: 18px; color: var(--ink-2); max-width: 520px; margin: 0 0 28px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero-actions .primary { margin: 0; text-decoration: none; display: inline-block; }
.proof { display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 0; margin: 26px 0 0; list-style: none; color: var(--muted); font-size: 13px; }
.proof li::before { content: "\2713  "; color: var(--green-2); font-weight: 700; }
.hero-art { position: relative; aspect-ratio: 1; }
.hero-art img {
  position: absolute; border-radius: 24px; background: linear-gradient(180deg, #f6f2ea, #e9e2d5);
  box-shadow: var(--shadow-md); object-fit: cover;
}
.hero-art .h1 { width: 58%; left: 4%; top: 4%; z-index: 2; }
.hero-art .h2 { width: 46%; right: 2%; top: 14%; }
.hero-art .h3 { width: 52%; right: 10%; bottom: 2%; z-index: 3; }
.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding: 10px 0 64px; }
.how div { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 24px; }
.how span {
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: #fff;
  font-weight: 600; font-size: 14px;
}
.how h3 { font: 600 22px var(--serif); margin: 14px 0 6px; }
.how p { margin: 0; color: var(--ink-2); }
.gallery h2, .compare h2, .faq h2, .cta-end h2, .band h2 { font: 600 34px/1.1 var(--serif); letter-spacing: -.015em; margin: 0 0 22px; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.g-card { background: var(--card); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.g-card img { width: 100%; aspect-ratio: 1; object-fit: cover; background: linear-gradient(180deg, #f6f2ea, #ebe4d7); }
.g-card > div { padding: 14px 16px 18px; display: flex; flex-direction: column; flex: 1; }
.g-card .eyebrow { font-size: 10.5px; margin-bottom: 2px; }
.g-card h3 { font: 600 21px var(--serif); margin: 0 0 6px; }
.g-card p { font-size: 13.5px; color: var(--ink-2); margin: 0 0 12px; }
.g-card a { margin-top: auto; font-size: 13px; font-weight: 500; text-decoration: none; }
.band {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 64px 0; padding: 36px 40px;
  border-radius: 28px; background: linear-gradient(120deg, #2e5a41, #3f7556); color: #fff;
}
.band h2 { color: #fff; margin-bottom: 8px; }
.band p { margin: 0; opacity: .85; max-width: 560px; }
.band .primary { background: #fff; color: var(--green); margin: 0; text-decoration: none; white-space: nowrap; }
.band .primary:hover { background: #f1efe8 !important; }
.cta-end { text-align: center; padding: 20px 0 80px; }
.cta-end p { color: var(--ink-2); margin: 0 0 22px; }
.cta-end .primary { display: inline-block; text-decoration: none; margin: 0; }

/* ---------------------------------------------------------------- pricing */
.pricing { max-width: 1120px; margin: 0 auto; padding: 0 28px 40px; }
.pricing-head { text-align: center; padding: 64px 0 36px; }
.pricing-head h1 { font: 600 clamp(38px, 5vw, 58px)/1.02 var(--serif); letter-spacing: -.025em; margin: 0 0 14px; }
.pricing-head p { color: var(--ink-2); font-size: 17px; max-width: 560px; margin: 0 auto 28px; }
.billing { display: inline-flex; background: var(--card); border-radius: 999px; padding: 4px; box-shadow: var(--shadow-sm); }
.billing button { border: 0; background: none; border-radius: 999px; padding: 9px 20px; font-weight: 500; color: var(--ink-2); }
.billing button small { font-size: 11px; color: var(--green-2); margin-left: 4px; }
.billing button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.billing button[aria-pressed="true"] small { color: #b9dcc4; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: start; }
.plan {
  position: relative; background: var(--card); border-radius: 24px; padding: 28px 26px 26px; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; border: 1.5px solid transparent;
}
.plan.featured { border-color: var(--green); box-shadow: 0 0 0 5px var(--green-soft), var(--shadow-md); }
.plan .badge {
  position: absolute; top: -12px; left: 26px; background: var(--green); color: #fff; font-size: 12px; font-weight: 600;
  padding: 4px 12px; border-radius: 999px;
}
.plan h2 { font: 600 28px var(--serif); margin: 0; }
.plan .pitch { color: var(--muted); margin: 4px 0 18px; font-size: 14px; min-height: 2.8em; }
.plan .price { margin: 0 0 18px; display: flex; align-items: baseline; gap: 8px; }
.plan .price b { font: 600 46px var(--serif); letter-spacing: -.02em; }
.plan .price span { color: var(--muted); font-size: 14px; }
.plan .primary { margin: 0 0 22px; text-align: center; text-decoration: none; }
.plan:not(.featured) .primary { background: var(--ink); box-shadow: none; }
.plan .intro { font-size: 13px; font-weight: 600; margin: 0 0 8px; }
.plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; font-size: 14px; color: var(--ink-2); }
.plan li { display: flex; gap: 8px; align-items: flex-start; }
.plan li svg, .compare svg { width: 20px; height: 20px; flex: none; color: var(--green-2); }
.compare { margin-top: 72px; }
.compare-wrap { overflow-x: auto; background: var(--card); border-radius: 20px; box-shadow: var(--shadow-sm); }
.compare table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 560px; }
.compare th, .compare td { padding: 13px 18px; border-bottom: 1px solid var(--line); text-align: center; }
.compare th:first-child, .compare td:first-child { text-align: left; }
.compare th { font: 600 17px var(--serif); }
.compare td.no svg { color: var(--line-2); }
.compare .price-row td { font-weight: 600; border-bottom: 0; }
.faq { margin-top: 72px; max-width: 760px; }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 16px; }
.faq p { color: var(--ink-2); margin: 10px 0 0; }
.already { text-align: center; margin: 48px 0 0; color: var(--ink-2); }

/* ---------------------------------------------------------------- unlock */
.unlock { min-height: calc(100vh - 60px); display: grid; place-items: center; padding: 40px 20px; }
.unlock-card {
  width: min(440px, 100%); background: var(--card); border-radius: 26px; padding: 36px 32px; box-shadow: var(--shadow-md);
  display: flex; flex-direction: column;
}
.unlock-card h1 { font: 600 32px var(--serif); margin: 16px 0 4px; }
.unlock-card > p { color: var(--ink-2); margin: 0 0 18px; }
.unlock-card input {
  border: 1px solid var(--line-2); border-radius: 12px; padding: 12px 14px; font: 500 15px var(--sans);
  letter-spacing: .02em; background: var(--paper);
}
.unlock-card .primary { margin-top: 4px; }
.unlock-card .msg { margin: 0 0 12px; }
.unlock-card #error { margin: 12px 0 0; }
.leaf-dot.big { width: 46px; height: 46px; }

/* ---------------------------------------------------------------- studio: tier extras */
.more { margin-top: 6px; border-top: 1px solid var(--line); }
.more > summary {
  list-style: none; cursor: pointer; padding: 14px 0; font-weight: 600; display: flex; justify-content: space-between; align-items: center;
}
.more > summary::-webkit-details-marker { display: none; }
.more > summary::after { content: "+"; font-size: 20px; color: var(--muted); }
.more[open] > summary::after { content: "\2013"; }
.locked {
  display: flex; gap: 12px; align-items: center; margin-top: 14px; padding: 13px 15px; border-radius: 14px;
  border: 1px dashed var(--line-2); color: var(--ink-2); font-size: 13px; background: var(--paper);
}
.locked b { color: var(--ink); }
.locked a { margin-left: auto; white-space: nowrap; font-weight: 600; text-decoration: none; }
.locked .lock {
  flex: none; width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; background: var(--bg); font-size: 14px;
}
.pro-box { margin-top: 18px; padding: 16px; border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow-sm); }
.pro-box h3 { margin: 0 0 4px; font: 600 17px var(--serif); }
.pro-box p { margin: 0 0 10px; font-size: 13px; color: var(--muted); }
.pro-box .row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.pro-box input {
  border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; background: var(--paper); width: 100%;
}
.pro-box .row input { width: 74px; }
.pro-box .ghost { white-space: nowrap; }
.pro-box progress { width: 100%; margin-top: 8px; accent-color: var(--green); }

@media (max-width: 860px) {
  .nav a:not(.nav-cta):not([aria-current]) { display: none; }
  .hero { grid-template-columns: 1fr; padding: 40px 0 30px; }
  .hero-art { max-width: 420px; width: 100%; margin: 0 auto; }
  .how, .plans { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .band { flex-direction: column; align-items: flex-start; padding: 28px 24px; }
  .landing, .pricing { padding: 0 16px; }
}

/* ---------------------------------------------------------------- language, footer, notes */
.i18n-pending body { visibility: hidden; }
.lang {
  margin-left: 6px; border: 1px solid var(--line); background: var(--card); border-radius: 999px; padding: 5px 10px;
  font: 600 12px var(--sans); color: var(--ink-2); letter-spacing: .04em; cursor: pointer;
}
.lang:hover { border-color: var(--line-2); color: var(--ink); }
.step i { font-style: normal; }
.footer { flex-wrap: wrap; row-gap: 10px; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: center; }
.price-note { text-align: center; color: var(--muted); font-size: 13px; margin: 18px auto 0; max-width: 620px; }
.legal-links { text-align: center; }
.g-card a + a { margin-top: 6px; }

/* ---------------------------------------------------------------- shop */
.shop { max-width: 1180px; margin: 0 auto; padding: 56px 28px 80px; }
.shop .proof { grid-column: 1 / -1; margin-top: 0; }
.shop-grid .from { font-weight: 600; color: var(--ink); margin: auto 0 10px; }
.shop-grid .primary { margin: 0; padding: 11px 16px; font-size: 14px; }
.shop-band { background: linear-gradient(135deg, #b9663f, var(--clay)); }
.shop-band .primary { color: #8a4417; }
.leaf-dot.clay { background: linear-gradient(135deg, #d98a62, var(--clay)); }
.order-card { width: 100%; border: 0; text-align: left; cursor: pointer; font: inherit; background: #f6e7dc; }
.order-card:hover { background: #f1dccd; }

dialog.order {
  width: min(520px, calc(100vw - 24px)); max-height: calc(100vh - 24px); border: 0; border-radius: 24px; padding: 0;
  background: var(--paper); color: var(--ink); box-shadow: 0 24px 80px rgba(29, 42, 33, .3);
}
dialog.order::backdrop { background: rgba(29, 42, 33, .35); backdrop-filter: blur(2px); }
.order-form { padding: 26px 26px 22px; display: flex; flex-direction: column; position: relative; }
.order-close {
  position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border-radius: 50%; border: 0;
  background: var(--card); font-size: 20px; line-height: 1; cursor: pointer; box-shadow: var(--shadow-sm);
}
.order-head { display: grid; grid-template-columns: 92px 1fr; gap: 16px; align-items: center; margin-bottom: 8px; padding-right: 30px; }
.order-head img { width: 92px; height: 92px; border-radius: 16px; object-fit: cover; background: #efe9de; }
.order-head h2 { font: 600 28px/1.1 var(--serif); margin: 0 0 4px; }
.order-head p { margin: 0; font-size: 13px; color: var(--ink-2); }
.order-head .eyebrow { font-size: 10.5px; margin: 0 0 2px; }
.order .control { margin-top: 16px; }
.sizes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.sizes button {
  display: flex; flex-direction: column; gap: 2px; align-items: flex-start; text-align: left; padding: 10px 12px;
  border-radius: 14px; border: 1.5px solid var(--line); background: var(--card); cursor: pointer; font: inherit; color: var(--ink);
}
.sizes button small { color: var(--muted); font-size: 11.5px; line-height: 1.3; }
.sizes button span { font-weight: 600; font-size: 14px; margin-top: 4px; }
.sizes button[aria-pressed="true"] { border-color: var(--green); box-shadow: 0 0 0 3px var(--green-soft); }
.order .field { margin: 16px 0 0; }
.order .field input {
  border: 1px solid var(--line-2); border-radius: 12px; padding: 10px 12px; font: 500 15px var(--sans); background: var(--card); width: 120px;
}
.order .field small { color: var(--muted); font-weight: 400; }
.qty-row { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; font-weight: 500; font-size: 13px; }
.qty { display: inline-flex; align-items: center; background: var(--bg); border-radius: 999px; padding: 3px; }
.qty button { width: 32px; height: 32px; border-radius: 50%; border: 0; background: var(--card); font-size: 17px; cursor: pointer; }
.qty output { min-width: 34px; text-align: center; font-weight: 600; }
.totals { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; margin: 16px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); font-size: 14px; }
.totals dt { color: var(--ink-2); }
.totals dd { margin: 0; text-align: right; }
.totals .total { font-weight: 700; font-size: 16px; color: var(--ink); }
.totals .iva { grid-column: 1 / -1; text-align: left; color: var(--muted); font-size: 12px; }
.agree { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; font-size: 13px; color: var(--ink-2); }
.agree input { margin-top: 3px; accent-color: var(--green); width: 16px; height: 16px; flex: none; }
.order .primary { margin-top: 16px; }

/* ---------------------------------------------------------------- legal pages */
.legal { max-width: 780px; margin: 0 auto; padding: 56px 28px 80px; }
.legal h1 { font: 600 clamp(32px, 4.4vw, 48px)/1.05 var(--serif); letter-spacing: -.02em; margin: 0 0 8px; }
.legal .updated { color: var(--muted); font-size: 13px; margin: 0 0 30px; }
.legal h2 { font: 600 21px var(--serif); margin: 34px 0 8px; }
.legal h3 { font-size: 15px; margin: 20px 0 6px; }
.legal p, .legal li { color: var(--ink-2); }
.legal ul, .legal ol { padding-left: 22px; }
.legal li { margin: 4px 0; }
.legal table { border-collapse: collapse; width: 100%; font-size: 14px; margin: 10px 0; }
.legal th, .legal td { text-align: left; border-bottom: 1px solid var(--line); padding: 8px 10px 8px 0; vertical-align: top; }
.legal .box { background: var(--card); border-radius: 16px; padding: 16px 20px; box-shadow: var(--shadow-sm); margin: 18px 0; }
.legal-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; }
.legal-nav a {
  font-size: 13px; text-decoration: none; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-2); background: var(--card);
}
.legal-nav a[aria-current="page"] { background: var(--ink); color: #fff; border-color: var(--ink); }

@media (max-width: 860px) {
  .shop, .legal { padding: 32px 16px 60px; }
  .sizes { grid-template-columns: 1fr; }
  .sizes button { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
  .sizes button span { margin: 0 0 0 auto; }
  .order-form { padding: 22px 18px 18px; }
  .order-head { grid-template-columns: 64px 1fr; }
  .order-head img { width: 64px; height: 64px; }
  .order-head p { display: none; }
}
.nav a { white-space: nowrap; }
@media (max-width: 400px) { .nav-cta { padding-left: 10px !important; padding-right: 10px !important; } }
.plan .charged { margin: -6px 0 10px; font-size: 12.5px; color: var(--muted); }

/* design-your-own: the main action on design cards */
.g-card .primary { margin: auto 0 8px; padding: 10px 16px; font-size: 13.5px; text-align: center; color: #fff; }
.g-card .primary + a { margin-top: 0; }
.hero-actions.center { justify-content: center; }
.customise { display: block; margin: 10px 0 0; font-size: 13px; font-weight: 600; text-decoration: none; }
.size-fixed { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding: 12px 14px; border-radius: 14px;
  background: var(--card); border: 1.5px solid var(--green); }
.size-fixed span { margin-left: auto; font-weight: 600; }
.size-fixed small { flex-basis: 100%; color: var(--muted); font-size: 12px; }
.order .msg ul { margin: 6px 0 0; padding-left: 18px; }
.shop-grid .ghost { margin-top: 8px; padding: 9px 14px; }

/* the brand name is two words: keep it on one line and give the small-screen top bar room */
.brand { white-space: nowrap; }
@media (max-width: 480px) {
  .topbar { padding: 0 12px; gap: 6px; }
  .brand { font-size: 19px; gap: 8px; }
  .brand-mark { width: 16px; height: 16px; }
  .nav { gap: 2px; }
  .nav a { padding: 6px 9px; font-size: 13px; }
  .nav-cta { margin-left: 2px; }
  .lang { margin-left: 2px; padding: 4px 8px; }
}
@media (max-width: 480px) {
  .nav a[aria-current]:not(.nav-cta) { display: none; }   /* the page you're on; the brand links home */
}
