/* Room Style Composer — landing. "Interior magazine on plaster": DM Serif Display + Manrope,
   plaster background, ink text, clay accents, paint-chip rule and tape on screenshots. */

@font-face { font-family: "DM Serif Display"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/dm-serif-display-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "DM Serif Display"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/dm-serif-display-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/manrope-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/manrope-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/manrope-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/manrope-latin-ext-500-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/manrope-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/manrope-latin-ext-700-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 800; font-display: swap; src: url("/assets/fonts/manrope-latin-800-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 800; font-display: swap; src: url("/assets/fonts/manrope-latin-ext-800-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --plaster: #f2efe9;
  --paper: #fbfaf7;
  --sunk: #e7e2d9;
  --ink: #1e2433;
  --soft: #565d6b;
  --line: #dad4c9;
  --clay: #a9493f;
  --clay-dark: #8a3931;
  --olive: #55613a;
  --mist: #c5d3dc;
  --serif: "DM Serif Display", Georgia, "Times New Roman", serif;
  --sans: "Manrope", "Segoe UI", Arial, sans-serif;
  --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--plaster); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.12; margin: 0 0 0.5em; overflow-wrap: anywhere; hyphens: manual; }
h1 { font-size: clamp(2.3rem, 6.2vw, 4.6rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
p { margin: 0 0 1em; overflow-wrap: break-word; }
a { color: inherit; }
ul { padding-left: 1.2em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 12px; }
:focus-visible { outline: 3px solid var(--clay); outline-offset: 3px; border-radius: 4px; }

.kicker { font-weight: 800; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--clay-dark); margin-bottom: 0.9em; }
.lead { font-size: clamp(1.05rem, 2vw, 1.22rem); color: var(--soft); max-width: 40em; }
.section-title { margin-bottom: 0.6em; }
.text-link { color: var(--clay-dark); font-weight: 700; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.text-link:hover { color: var(--ink); }

/* Header */
.site-head { padding-top: 14px; }
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; min-height: 48px; }
.brand-name { font-family: var(--serif); font-size: 1.35rem; }
.nav { display: flex; flex-wrap: wrap; gap: 4px 6px; }
.nav a { text-decoration: none; font-weight: 700; font-size: 0.95rem; padding: 10px 12px; border-radius: 10px; min-height: 44px; display: inline-flex; align-items: center; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--ink); color: #fff; }
.chip-rule { display: flex; align-items: center; gap: 4px; margin-top: 8px; }
.chip-rule i { display: block; height: 7px; width: 20px; border-radius: 2px; background: var(--clay); }
.chip-rule i:nth-child(1) { width: 34px; background: var(--ink); }
.chip-rule i:nth-child(3) { background: var(--olive); }
.chip-rule i:nth-child(4) { background: var(--mist); }
.chip-rule b { flex: 1; height: 1px; background: var(--line); margin-left: 6px; }

/* Hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 40px; align-items: center; padding-top: 56px; padding-bottom: 72px; }
.hero h1 { max-width: 15ch; font-size: clamp(2.3rem, 5.4vw, 4.4rem); }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 22px; margin: 28px 0 22px; }
.facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.facts li { background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-weight: 700; font-size: 0.9rem; }
.hero-art { position: relative; min-height: 560px; }
.paint-cards { position: absolute; left: 0; top: 40px; display: grid; gap: 10px; }
.paint-cards span { display: block; width: 74px; height: 92px; border-radius: 10px; box-shadow: inset 0 -22px 0 rgba(255, 255, 255, 0.72); border: 1px solid rgba(30, 36, 51, 0.08); }
.hero-art .shot { position: absolute; width: 58%; max-width: 300px; }
.hero-art .shot-back { right: 0; top: 0; transform: rotate(3deg); }
.hero-art .shot-front { left: 22%; top: 70px; z-index: 2; transform: rotate(-2deg); }

/* Screenshot */
.shot { margin: 0; position: relative; }
.shot img { border-radius: 22px; box-shadow: 0 22px 44px -18px rgba(30, 36, 51, 0.45); border: 1px solid rgba(30, 36, 51, 0.08); background: var(--paper); }
.tape { position: absolute; left: 50%; top: -12px; width: 38%; height: 26px; margin-left: -19%; background: rgba(197, 211, 220, 0.9); border-radius: 3px; transform: rotate(-4deg); z-index: 3; }

/* Play button */
.play { display: inline-flex; align-items: center; gap: 12px; background: var(--ink); color: #fff; text-decoration: none; padding: 10px 22px 10px 16px; border-radius: 14px; min-height: 56px; }
.play:hover { background: var(--clay-dark); }
.play-soon { background: var(--paper); color: var(--ink); border: 2px dashed var(--line); cursor: default; }
.play-icon { width: 22px; height: 22px; }
.play-text { display: flex; flex-direction: column; line-height: 1.15; }
.play-small { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.8; }
.play-big { font-size: 1.15rem; font-weight: 800; }

/* Palette band */
.palette-band { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 56px 0; }
.palette-head { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 32px; align-items: end; margin-bottom: 26px; }
.palette-head h2 { margin: 0; }
.palette-head p { color: var(--soft); margin: 0; }
.palette-strip { display: flex; min-height: 150px; border-radius: 14px; overflow: hidden; border: 1px solid rgba(30, 36, 51, 0.08); }
.swatch { display: flex; flex-direction: column; justify-content: flex-end; padding: 12px; min-width: 76px; overflow: hidden; }
.swatch-name, .swatch-meta { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.swatch-name { font-weight: 800; font-size: 0.95rem; }
.swatch-meta { font-size: 0.82rem; opacity: 0.85; }

/* Tools */
.tools { padding-top: 80px; padding-bottom: 40px; }
.tools > .section-title { max-width: 18ch; }
.tool { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 330px); gap: 56px; align-items: center; padding: 48px 0; border-top: 1px solid var(--line); }
.tool-flip { grid-template-columns: minmax(0, 330px) minmax(0, 1fr); }
.tool-flip .tool-text { order: 2; }
.tool-no { font-family: var(--serif); font-size: 3.2rem; line-height: 1; color: var(--clay); margin-bottom: 0.2em; }
.tool-text p { color: var(--soft); max-width: 34em; }
.tool-text ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.tool-text li { position: relative; padding-left: 26px; font-weight: 500; }
.tool-text li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 14px; height: 10px; border-radius: 2px; background: var(--olive); }
.tool-shot { max-width: 330px; width: 100%; justify-self: center; }

/* Steps */
.steps-band { background: var(--ink); color: #f2efe9; padding: 72px 0; }
.steps-band .section-title { color: #fff; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: step; }
.steps li { counter-increment: step; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 14px; padding: 22px; }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font-family: var(--serif); font-size: 2.2rem; color: #e39a8f; margin-bottom: 8px; }
.steps h3 { font-size: 1.35rem; color: #fff; }
.steps p { margin: 0; color: #cfd3dc; font-size: 0.97rem; }

/* Organise + privacy */
.organise { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 300px); gap: 56px; align-items: center; padding-top: 80px; padding-bottom: 80px; }
.organise-shot { max-width: 300px; width: 100%; justify-self: center; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 30px; }
.checks li::before { content: ""; position: absolute; left: 4px; top: 0.35em; width: 8px; height: 14px; border: solid var(--olive); border-width: 0 3px 3px 0; transform: rotate(45deg); }
.privacy-band { background: var(--sunk); padding: 64px 0; }
.privacy-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 40px; align-items: start; }

/* FAQ */
.faq { padding-top: 72px; padding-bottom: 32px; }
details { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 0 18px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 800; padding: 14px 0; min-height: 48px; list-style-position: inside; }
details p { color: var(--soft); }
.faq-more { margin-top: 18px; }

/* Final */
.final { text-align: center; padding-top: 48px; padding-bottom: 80px; }
.final h2 { max-width: 18ch; margin-left: auto; margin-right: auto; }
.final p { color: var(--soft); }

/* Inner pages */
.page { padding-top: 48px; padding-bottom: 72px; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 8px; }
.toc a { text-decoration: none; font-weight: 700; font-size: 0.92rem; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; min-height: 40px; display: inline-flex; align-items: center; }
.toc a:hover { border-color: var(--ink); }
.help-section { padding-top: 32px; }
.help-section h2 { font-size: clamp(1.5rem, 3.4vw, 2rem); }
.help-no { color: var(--clay); }
.help-section li { margin-bottom: 8px; }
.contact-box { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 24px; margin-top: 32px; }
.legal h2 { font-size: clamp(1.35rem, 3vw, 1.75rem); margin-top: 1.6em; }
.legal li { margin-bottom: 6px; }

/* Footer */
.site-foot { border-top: 1px solid var(--line); background: var(--paper); padding: 36px 0; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 24px; align-items: center; }
.foot-brand { display: flex; align-items: center; gap: 12px; }
.foot-name { font-family: var(--serif); font-size: 1.25rem; margin: 0; }
.foot-small { margin: 0; color: var(--soft); font-size: 0.88rem; }
.foot-links { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.foot-links a { font-weight: 700; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.foot-links a:hover { text-decoration: underline; }
.foot-contact { margin: 0; text-align: right; color: var(--soft); font-size: 0.92rem; overflow-wrap: anywhere; }
.foot-contact a { color: var(--ink); font-weight: 800; }

/* Responsive */
@media (max-width: 960px) {
  .hero { grid-template-columns: minmax(0, 1fr); padding-top: 36px; gap: 24px; }
  .hero h1 { max-width: none; }
  .hero-art { min-height: 0; display: flex; justify-content: center; gap: 0; padding: 20px 0 10px 64px; }
  .hero-art .shot { position: relative; width: 52%; max-width: 280px; left: auto; right: auto; top: auto; }
  .hero-art .shot-back { margin-left: -12%; margin-top: 30px; }
  .paint-cards { top: 20px; }
  .paint-cards span { width: 52px; height: 66px; }
  .palette-head { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .tool, .tool-flip { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .tool-flip .tool-text { order: 0; }
  .tool-shot { max-width: 290px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .organise, .privacy-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .foot-contact { text-align: left; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  h1, h2, h3 { hyphens: auto; }
  .wrap { padding: 0 16px; }
  .nav { width: 100%; }
  .nav a { padding: 8px 10px; font-size: 0.9rem; }
  .hero-art { padding-left: 46px; }
  .paint-cards span { width: 36px; height: 48px; }
  .palette-strip { min-height: 120px; }
  .swatch { padding: 8px 5px; min-width: 40px; }
  .swatch-name { font-size: 0.78rem; }
  .swatch-meta { display: none; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .tool { padding: 36px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
