/* Nidea — product page. Brand kit: Mercan (docs: deploy/prelaunch/README.md).
   Coral (#E5704B) is for the mark and decoration ONLY: it measures 2.9:1 on ivory and is not a
   text colour. Links use deep coral (#B84A2A, 4.9:1). No script runs here (CSP script-src 'none'),
   so nothing below may depend on one. */

/* Figtree 5.3.0 (fontsource, OFL-1.1: fonts/OFL.txt), self-hosted so no visitor request leaves
   this origin. Two subsets: Turkish ğ ş İ live in latin-ext; ı ç ö ü in latin. */
@font-face {
  font-family: "Figtree";
  src: url("fonts/figtree-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 300 900;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, 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: "Figtree";
  src: url("fonts/figtree-latin-wght-normal.woff2") format("woff2");
  font-weight: 300 900;
  font-display: swap;
  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;
}

:root {
  --ink: #233240;
  --ink-deep: #1A2632;
  --coral: #E5704B;
  --deep-coral: #B84A2A;
  --ivory: #FBF7F2;
  --sand: #F3ECE3;
  --grey: #5C6B77;
  --mist: #DDE2E6;
  --on-ink-soft: #C9D2DA;
  --white: #FFFFFF;
  --font: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { 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(--ivory);
  color: var(--ink);
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.55;
}

a { color: var(--deep-coral); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
a:focus-visible { outline: 3px solid var(--deep-coral); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* Header */
.top { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px 0; }
.lockup { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.lockup svg { width: 36px; height: 36px; flex: none; }
.lockup span { font-size: 28px; font-weight: 600; letter-spacing: -0.02em; line-height: 1; }
.nav { display: flex; align-items: center; gap: 26px; font-size: 15px; font-weight: 600; }
.nav a { color: var(--ink); text-decoration: none; }
.nav a:hover { color: var(--deep-coral); }
.nav .lang { color: var(--deep-coral); }
.nav .nav-cta { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 10px; background: var(--ink); color: var(--white); }
.nav .nav-cta:hover { background: var(--ink-deep); color: var(--white); }

/* Buttons */
.cta { display: inline-flex; align-items: center; min-height: 52px; padding: 0 26px; border-radius: 12px; background: var(--ink); color: var(--white); font-weight: 600; text-decoration: none; }
.cta:hover { background: var(--ink-deep); color: var(--white); }
.cta-note { display: block; margin-top: 14px; font-size: 15px; color: var(--grey); }

/* Hero */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 56px; align-items: center; padding: 48px 0 80px; }
.label { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--grey); margin: 0 0 18px; }
h1 { font-size: clamp(36px, 5.4vw, 58px); font-weight: 600; letter-spacing: -0.025em; line-height: 1.06; margin: 0 0 22px; }
.lead { font-size: 20px; color: var(--ink); max-width: 34em; margin: 0 0 32px; }
.facts { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 36px 0 0; padding: 0; font-size: 15px; color: var(--grey); }
.facts li { display: flex; align-items: center; gap: 8px; }
.facts li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--coral); flex: none; }

/* Example cycle panel — an illustration of the product, not data */
.panel { background: var(--white); border: 1px solid var(--mist); border-radius: 20px; padding: 24px 26px 18px; box-shadow: 0 18px 40px -24px rgba(35, 50, 64, 0.35); }
.panel-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; padding-bottom: 16px; border-bottom: 1px solid var(--mist); }
.panel-title { font-weight: 700; font-size: 18px; margin-right: auto; }
.chip { display: inline-flex; align-items: center; min-height: 26px; padding: 0 10px; border-radius: 999px; background: var(--sand); font-size: 13px; font-weight: 600; color: var(--ink); }
.steps { list-style: none; margin: 0; padding: 14px 0 4px; }
.step { position: relative; display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; padding: 7px 0; }
.step::before { content: ""; position: absolute; left: 10px; top: 25px; bottom: -9px; width: 2px; background: var(--mist); }
.step:last-child::before { display: none; }
.dot { width: 22px; height: 22px; border-radius: 50%; background: var(--ink); position: relative; z-index: 1; margin-top: 1px; }
.dot::after { content: ""; position: absolute; left: 7px; top: 4px; width: 5px; height: 10px; border: solid var(--white); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.step.now .dot { background: var(--white); border: 3px solid var(--coral); }
.step.now .dot::after { display: none; }
.step b { display: block; font-size: 15.5px; font-weight: 600; line-height: 1.35; }
.step span { display: block; font-size: 14px; color: var(--grey); line-height: 1.4; }
.panel-note { margin: 10px 0 0; padding-top: 12px; border-top: 1px solid var(--mist); font-size: 13px; color: var(--grey); }

/* Origin statement — who the product was built with */
.origin { border-top: 1px solid var(--mist); border-bottom: 1px solid var(--mist); padding: 48px 0; display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 20px; align-items: baseline; }
.origin::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--coral); grid-row: 1; align-self: center; }
.origin h2 { margin: 0; }
.origin p { grid-column: 2; margin: 10px 0 0; font-size: 19px; color: var(--grey); }

/* Sections */
.section { padding: 72px 0; }
.section-head { max-width: 46em; margin-bottom: 36px; }
h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.12; margin: 0 0 14px; }
.section-head p { margin: 0; font-size: 18.5px; color: var(--grey); }

/* Module grid */
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.card { background: var(--white); border: 1px solid var(--mist); border-radius: 18px; padding: 24px 26px; }
.card h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; margin: 0 0 8px; display: flex; align-items: center; gap: 10px; }
.card h3::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--coral); flex: none; }
.card p { margin: 0; color: var(--grey); font-size: 16px; }

/* Record integrity band */
.band { background: var(--ink); color: var(--white); border-radius: 28px; padding: 64px 56px; }
.band .label { color: var(--on-ink-soft); }
.band h2 { color: var(--white); }
.band .section-head p { color: var(--on-ink-soft); }
.points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 48px; margin: 0; }
.point h3 { font-size: 18px; font-weight: 600; margin: 0 0 6px; color: var(--white); }
.point p { margin: 0; font-size: 16px; color: var(--on-ink-soft); }

/* Regulation strip */
.reg { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 48px; align-items: start; }
.reg h2 { margin-bottom: 0; }
.reg ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.reg li { background: var(--white); border: 1px solid var(--mist); border-radius: 14px; padding: 14px 18px 14px 44px; position: relative; font-size: 16.5px; }
.reg li::before { content: ""; position: absolute; left: 18px; top: 22px; width: 10px; height: 10px; border-radius: 50%; background: var(--coral); }

/* Roles */
.roles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--mist); }
.role { padding: 24px 24px 26px 0; border-bottom: 1px solid var(--mist); }
.role h3 { font-size: 18px; font-weight: 600; margin: 0 0 6px; }
.role p { margin: 0; font-size: 16px; color: var(--grey); }

/* Closing call to action */
.closing { background: var(--sand); border-radius: 28px; padding: 56px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center; }
.closing h2 { margin-bottom: 10px; }
.closing p { margin: 0; color: var(--grey); font-size: 18px; max-width: 34em; }
.closing .cta-note { margin-top: 12px; }

/* Footer */
.foot { border-top: 1px solid var(--mist); margin-top: 72px; padding: 28px 0 40px; display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; font-size: 15px; color: var(--grey); }
.foot p { margin: 0; max-width: 40em; }
.foot-links { display: flex; flex-wrap: wrap; gap: 12px 24px; }

@media (max-width: 980px) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .panel { max-width: 520px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .roles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reg { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .nav .nav-link { display: none; }
}

@media (max-width: 760px) {
  .wrap { padding: 0 16px; }
  .top { padding: 20px 0; }
  .hero { padding: 16px 0 56px; }
  .lead { font-size: 18px; }
  .section { padding: 52px 0; }
  .grid, .roles, .points { grid-template-columns: minmax(0, 1fr); }
  .role { padding-right: 0; }
  .band { padding: 44px 22px; border-radius: 20px; }
  .closing { grid-template-columns: minmax(0, 1fr); padding: 36px 22px; border-radius: 20px; }
  .panel { padding: 20px 18px 14px; }
  .nav { gap: 16px; }
  .nav .nav-cta { display: none; }
}
