/* novimi.noviora.app — the app's own light palette: cream, mint, peach, lilac, soft yellow.
   Light by design (like the app); the deep green text keeps contrast in any system theme. */
:root {
  --cream: #fbf6ea;
  --cream-2: #fff9ee;
  --mint: #dff1e4;
  --peach: #fde4d3;
  --lilac: #e9e3f7;
  --yellow: #fff1c4;
  --ink: #1f4a3a;
  --ink-soft: #4e6a5e;
  --green: #2f6e55;
  --card: #ffffff;
  --line: rgba(31, 74, 58, 0.12);
  --radius: 28px;
  --font: "Nunito", "Noto Sans KR", system-ui, -apple-system, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
  overflow-x: hidden;
}
html[lang="ko"] body { word-break: keep-all; }
img { max-width: 100%; display: block; }
a { color: var(--green); }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 14px; font-weight: 900; letter-spacing: -0.01em; }
h2 { font-size: clamp(28px, 4vw, 42px); text-align: center; margin-bottom: 32px; }
.lead { font-size: clamp(17px, 2vw, 20px); color: var(--ink-soft); }
.note { color: var(--ink-soft); font-size: 15px; font-weight: 700; }
.center { text-align: center; }

/* Header */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--cream) 88%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.top-inner { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { border-radius: 11px; box-shadow: 0 4px 12px rgba(31, 74, 58, 0.15); }
.brand strong { display: block; font-size: 20px; font-weight: 900; line-height: 1; }
.brand small { display: block; font-size: 12px; color: var(--ink-soft); font-weight: 700; }
.top-nav { display: flex; gap: 22px; margin-left: auto; }
.top-nav a { color: var(--ink); text-decoration: none; font-weight: 800; font-size: 15px; }
.top-nav a:hover { color: var(--green); }
.lang select { font: inherit; font-weight: 800; color: var(--ink); background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; }

/* Hero */
.hero { background: linear-gradient(180deg, var(--yellow) 0%, var(--cream) 55%, var(--mint) 100%); padding-top: clamp(40px, 7vw, 80px); text-align: center; overflow: hidden; }
.hero-copy { max-width: 760px; }
.kicker { display: inline-block; margin: 0 0 18px; padding: 6px 14px; border-radius: 999px; background: var(--card); color: var(--green); font-weight: 800; font-size: 14px; box-shadow: 0 2px 8px rgba(31, 74, 58, 0.08); }
h1 { font-size: clamp(38px, 6.4vw, 68px); }
.actions { display: flex; justify-content: center; gap: 12px; margin: 26px 0 10px; flex-wrap: wrap; }
.soon { display: inline-flex; align-items: center; min-height: 52px; padding: 0 24px; border-radius: 999px; background: var(--green); color: #fff; font-weight: 900; font-size: 17px; box-shadow: 0 8px 20px rgba(47, 110, 85, 0.28); }
.store-badge img { height: 52px; width: auto; }
.friends { width: min(1500px, 120%); margin: 18px auto 0; max-width: none; position: relative; left: 50%; transform: translateX(-50%); }

/* Sections */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.feature { background: var(--card); border-radius: var(--radius); padding: 26px; border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(31, 74, 58, 0.06); }
.feature:nth-child(6n+1) { background: var(--cream-2); }
.feature:nth-child(6n+2) { background: var(--peach); }
.feature:nth-child(6n+3) { background: var(--lilac); }
.feature:nth-child(6n+4) { background: #e7edf9; }
.feature:nth-child(6n+5) { background: var(--mint); }
.feature:nth-child(6n+6) { background: var(--yellow); }
.feature-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: rgba(255, 255, 255, 0.75); font-size: 28px; margin-bottom: 14px; }
.feature h3 { font-size: 21px; margin-bottom: 6px; }
.feature p { margin: 0; color: var(--ink-soft); }

.gallery-section { background: var(--card); }
.gallery { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px max(16px, (100% - 1120px) / 2) 18px; scrollbar-width: thin; }
.gallery img { flex: 0 0 auto; width: clamp(200px, 24vw, 270px); height: auto; border-radius: 26px; scroll-snap-align: center; box-shadow: 0 12px 30px rgba(31, 74, 58, 0.14); }

.name { background: linear-gradient(135deg, var(--peach), var(--lilac)); }
.name-card, .premium-card { max-width: 820px; text-align: center; }
.name-card h2, .premium-card h2 { margin-bottom: 16px; }

.parents { list-style: none; padding: 0; margin: 0 0 18px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.parents li { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 22px 24px; display: grid; gap: 4px; }
.parents strong { font-size: 18px; }
.parents span { color: var(--ink-soft); }

#premium { background: var(--mint); }
.checks { list-style: none; padding: 0; margin: 22px auto 0; display: grid; gap: 10px; max-width: 620px; text-align: left; }
.checks li { position: relative; padding: 12px 16px 12px 48px; background: var(--card); border-radius: 16px; font-weight: 700; }
.checks li::before { content: "✓"; position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-size: 13px; }

.faq { max-width: 780px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 18px 22px; margin-bottom: 12px; }
.faq summary { cursor: pointer; font-weight: 900; font-size: 18px; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--green); }
.faq details[open] summary::after { content: "−"; }
.faq p { margin: 10px 0 0; color: var(--ink-soft); }

.cta { text-align: center; background: linear-gradient(180deg, var(--cream), var(--yellow)); }

.foot { background: var(--ink); color: #e9f2ec; padding: 40px 0; }
.foot-inner { display: grid; gap: 12px; text-align: center; }
.foot nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 18px; }
.foot a { color: #fff; font-weight: 800; text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot p { margin: 0; font-size: 14px; color: #c9dacf; }
.foot small { color: #a9c2b4; }

a:focus-visible, select:focus-visible, summary:focus-visible, .gallery:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 8px; }

@media (max-width: 900px) {
  .top-nav { display: none; }
  .lang { margin-left: auto; }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .features, .parents { grid-template-columns: 1fr; }
  .friends { width: 170%; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
