/* Sulco product page. The app's "two inks" language: a flat colour field per section, one ink for text and lines,
   orange (#F2552C) only as the pin mark, never on text. Lexend 400/600, 1.6px outlines, no shadows, no gradients. */

@font-face {
  font-family: "Lexend";
  src: url("/sulco/fonts/lexend-regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0000-017F, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+20BA, U+20BD, U+2122, U+2212, U+2215;
}
@font-face {
  font-family: "Lexend";
  src: url("/sulco/fonts/lexend-semibold.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
  unicode-range: U+0000-017F, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+20BA, U+20BD, U+2122, U+2212, U+2215;
}

:root {
  --sky: #85C9F4;
  --mint: #CDF3E3;
  --forest: #0C4238;
  --night: #0B0A1C;
  --paper: #F3ECD6;
  --green-ink: #0C4238;
  --cream-ink: #F3ECD6;
  --pin: #F2552C;
  --stroke: 1.6px;
  color-scheme: light dark;
}

/* Fields: background + the one ink used on it. */
.f-sky    { --field: var(--sky);    --ink: var(--green-ink); }
.f-mint   { --field: var(--mint);   --ink: var(--green-ink); }
.f-paper  { --field: var(--paper);  --ink: var(--green-ink); }
.f-forest { --field: var(--forest); --ink: var(--cream-ink); }
.f-night  { --field: var(--night);  --ink: var(--cream-ink); }

@media (prefers-color-scheme: dark) {
  .d-night  { --field: var(--night);  --ink: var(--cream-ink); }
  .d-forest { --field: var(--forest); --ink: var(--cream-ink); }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--night);
  color: var(--cream-ink);
  font: 400 17px/1.55 "Lexend", -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Apple SD Gothic Neo", "Noto Sans", Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

[class*="f-"] { background: var(--field); color: var(--ink); }

h1, h2, h3 { font-weight: 600; margin: 0; text-wrap: balance; letter-spacing: -0.015em; }
p { margin: 0; text-wrap: pretty; }
/* Korean breaks between words, not inside them (the browser default breaks anywhere between syllables). */
:lang(ko) { word-break: keep-all; overflow-wrap: anywhere; }
/* Japanese headings break between phrases where the browser can (ignored elsewhere). */
:lang(ja) h1, :lang(ja) h2, :lang(ja) h3 { word-break: auto-phrase; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
img { display: block; max-width: 100%; height: auto; }

:focus-visible { outline: 3px solid var(--ink, var(--cream-ink)); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 10;
  background: var(--paper); color: var(--green-ink); padding: 10px 16px; border-radius: 999px; font-weight: 600;
}
.skip:focus { top: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* The pin: an orange dot with an ink outline (the mark never depends on hue alone). */
.pin {
  display: inline-block; flex: none; width: 14px; height: 14px; border-radius: 50%;
  background: var(--pin); box-shadow: 0 0 0 var(--stroke) var(--ink);
}

/* Header */
.top { position: relative; z-index: 2; }
.top-row { display: flex; align-items: center; justify-content: space-between; min-height: 64px; }
.brand { display: block; padding: 6px 0; border-radius: 8px; }
.brand img { width: 80px; height: auto; }
.langs { position: relative; }
.langs summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 16px; border: var(--stroke) solid var(--ink); border-radius: 999px;
  font-size: 15px;
}
.langs summary::-webkit-details-marker { display: none; }
.langs summary::after {
  content: ""; width: 7px; height: 7px; border-right: var(--stroke) solid; border-bottom: var(--stroke) solid;
  transform: translateY(-2px) rotate(45deg);
}
.langs[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.langs ul {
  position: absolute; right: 0; top: calc(100% + 8px); margin: 0; padding: 8px; list-style: none;
  min-width: 220px; max-height: 70vh; overflow: auto;
  background: var(--field); border: var(--stroke) solid var(--ink); border-radius: 22px;
}
.langs li a { display: block; padding: 10px 14px; border-radius: 14px; text-decoration: none; }
.langs li a:hover, .langs li a[aria-current] { background: var(--ink); color: var(--field); }

/* Hero */
.hero { padding: 8px 0 0; overflow: hidden; }
.hero-grid { display: grid; gap: 32px; }
.hero h1 { font-size: clamp(38px, 10.4vw, 68px); line-height: 1.04; letter-spacing: -0.025em; }
.hero .lead { margin-top: 16px; font-size: 17px; line-height: 1.5; max-width: 34em; opacity: .92; }
.hero .badge, .hero .soon { margin-top: 24px; }
.assure { display: flex; align-items: center; gap: 10px; margin-top: 16px; font-size: 15px; font-weight: 600; }

.badge { display: inline-block; border-radius: 10px; }
.badge img { height: 54px; width: auto; }
.soon {
  display: inline-flex; align-items: center; min-height: 54px; padding: 0 24px;
  border: var(--stroke) solid var(--ink); border-radius: 999px; font-weight: 600; font-size: 17px;
}

/* Screenshots: the real app screens, rounded like the device, a thin ink outline, no frame, no shadow. */
.shot { margin: 0 auto; width: min(72vw, 300px); }
.shot img {
  width: 100%; border-radius: 12.5% / 5.75%;
  outline: var(--stroke) solid var(--ink); outline-offset: 0;
}
.hero-shot { width: min(74vw, 310px); margin-bottom: -96px; }

/* Steps */
.step, .content { padding: 72px 0; }
.step-grid { display: grid; gap: 40px; align-items: center; }
.step-text { max-width: 34em; }
.kicker-h2 { font-size: clamp(30px, 7.4vw, 44px); line-height: 1.1; margin-bottom: 28px; }
.num {
  display: inline-flex; align-items: center; gap: 10px; height: 34px; padding: 0 14px 0 10px;
  border: var(--stroke) solid var(--ink); border-radius: 999px; font-weight: 600; font-size: 15px;
  font-variant-numeric: tabular-nums;
}
.step h3 { margin-top: 18px; font-size: clamp(26px, 6.6vw, 38px); line-height: 1.12; }
.step-text > p:not(.num) { margin-top: 14px; font-size: 17px; }

/* Facts */
.facts, .price, .faq, .final { padding: 72px 0; }
.facts h2, .price h2, .faq h2, .content h2 { font-size: clamp(30px, 7.4vw, 44px); line-height: 1.1; }
.fact-list { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 0; }
.fact-list li {
  display: flex; gap: 16px; align-items: flex-start; padding: 22px 0;
  border-top: var(--stroke) dotted var(--ink);
}
.fact-list li:last-child { border-bottom: var(--stroke) dotted var(--ink); }
.fact-list .pin { margin-top: 7px; }
.fact-list h3 { font-size: 20px; line-height: 1.25; }
.fact-list p { margin-top: 6px; font-size: 16px; }

/* Content */
.content .step-text > p { margin-top: 16px; }
.regions { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.regions li {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 6px 0 14px;
  border: var(--stroke) solid var(--ink); border-radius: 999px; font-size: 15px;
}
.tag {
  display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 999px;
  border: var(--stroke) solid var(--ink); font-size: 13px; font-weight: 600;
}
.tag-free { background: var(--ink); color: var(--field); }
.content .missing { font-size: 15px; }
.ai-note { margin-top: 24px; padding: 20px 22px; border: var(--stroke) solid var(--ink); border-radius: 22px; }
.ai-note h3 { font-size: 18px; }
.ai-note p { margin-top: 8px; font-size: 15px; }

/* Price */
.tiers { display: grid; gap: 14px; margin-top: 28px; }
.tier { padding: 24px; border: var(--stroke) solid var(--ink); border-radius: 22px; }
.tier-free { background: var(--ink); color: var(--field); }
.tier h3 { font-size: 18px; }
.amount { margin: 6px 0 10px; font-size: 40px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; }
.unit { font-size: 17px; font-weight: 400; letter-spacing: 0; }
.tier p:last-child { font-size: 16px; }
.price .note { margin-top: 16px; font-size: 14px; opacity: .9; }
.price .badge, .price .soon { margin-top: 24px; }

/* FAQ */
.faq details { border-top: var(--stroke) dotted var(--ink); }
.faq details:last-of-type { border-bottom: var(--stroke) dotted var(--ink); }
.faq h2 { margin-bottom: 24px; }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 60px; padding: 14px 0; font-size: 18px; font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; display: grid; place-items: center; width: 30px; height: 30px;
  border: var(--stroke) solid var(--ink); border-radius: 50%; font-weight: 400; font-size: 20px; line-height: 1;
}
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 0 20px; font-size: 16px; max-width: 40em; }

/* Final call */
.final-inner { text-align: center; display: flex; flex-direction: column; align-items: center; }
.app-icon { width: 88px; height: 88px; border-radius: 22.4%; outline: var(--stroke) solid var(--ink); }
.final h2 { margin-top: 24px; font-size: clamp(30px, 7.4vw, 48px); line-height: 1.08; max-width: 14em; }
.final p { margin-top: 12px; font-size: 17px; }
.final .badge, .final .soon { margin-top: 28px; }

/* Footer */
.foot { padding: 48px 0 56px; font-size: 14px; }
.foot-grid { display: grid; gap: 28px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.foot nav a { display: inline-block; padding: 8px 0; }
.foot-h { font-size: 14px; font-weight: 600; letter-spacing: 0; }
.foot-langs { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 16px; }
.foot-langs a { display: inline-block; padding: 6px 0; text-decoration: none; }
.foot-langs a[aria-current] { text-decoration: underline; }
.fine p + p { margin-top: 8px; }
.fine { opacity: .85; max-width: 60em; }

/* Larger screens */
@media (min-width: 700px) {
  .wrap { padding: 0 40px; }
  .fact-list { grid-template-columns: 1fr 1fr; column-gap: 48px; }
  .fact-list li:nth-last-child(2) { border-bottom: var(--stroke) dotted var(--ink); }
  .tiers { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  .hero { padding-top: 24px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) 320px; align-items: start; gap: 64px; }
  .hero-text { padding-top: 48px; padding-bottom: 72px; }
  .hero-shot { width: 320px; margin-bottom: -150px; }
  .step-grid { grid-template-columns: minmax(0, 1fr) 320px; gap: 80px; }
  .step-grid.flip { grid-template-columns: 320px minmax(0, 1fr); }
  .step-grid.flip .shot { order: -1; }
  .shot { width: 320px; margin: 0; }
  .step, .content, .facts, .price, .faq, .final { padding: 104px 0; }
  .fact-list { grid-template-columns: 1fr 1fr 1fr; }
  .fact-list li:nth-last-child(3) { border-bottom: var(--stroke) dotted var(--ink); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .fine { grid-column: 1 / -1; }
  .hero .lead { font-size: 20px; }
  .step-text > p:not(.num), .content .step-text > p:not(.missing) { font-size: 19px; }
  .fact-list p, .tier p:last-child, .faq details p { font-size: 17px; }
  .fact-list h3 { font-size: 22px; }
  .faq summary { font-size: 20px; }
}
