:root {
  color-scheme: light;
  --navy: #071522;
  --navy-raised: #102638;
  --ink: #102739;
  --muted: #456076;
  --paper: #edf4f9;
  --surface: #fcfeff;
  --line: #cbdce9;
  --action: #005e93;
  --ice: #a8e7ff;
  --steel: #b8cfde;
  font: 100%/1.55 -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body, h1, h2, h3, p, figure { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .23em; }
button { cursor: pointer; font: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #0575ad; outline-offset: 4px; }
.top :focus-visible, .document-top :focus-visible, .footer :focus-visible, .previews :focus-visible { outline-color: var(--ice); }
.wrap { width: min(100% - 3.5rem, 76rem); margin-inline: auto; }

.skip {
  position: fixed;
  z-index: 5;
  inset: .6rem auto auto .6rem;
  transform: translateY(-150%);
  padding: .6rem 1rem;
  color: var(--navy);
  background: var(--ice);
}
.skip:focus { transform: none; }

.top, .document-top, .footer { background: var(--navy); color: #f1f8ff; }
.header, .footer-inner { display: flex; justify-content: space-between; align-items: center; gap: .8rem 1.5rem; }
.header { min-height: 5rem; border-bottom: 1px solid #294457; }
.brand { display: inline-flex; align-items: center; gap: .68rem; text-decoration: none; font-size: .9rem; font-weight: 760; letter-spacing: .1em; }
.brand img { border: 1px solid #5187a3; border-radius: .67rem; }
nav { display: flex; gap: clamp(.8rem, 2.2vw, 1.8rem); align-items: center; flex-wrap: wrap; }
nav a { display: inline-flex; min-height: 44px; align-items: center; text-decoration: none; font-size: .91rem; font-weight: 640; }
nav a:hover { text-decoration: underline; }
.header nav, .footer nav { color: #c8ddeb; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  gap: clamp(1.6rem, 4vw, 4rem);
  align-items: center;
  padding-block: clamp(2.4rem, 6vw, 5rem);
}
h1, h2, h3 { line-height: 1.1; letter-spacing: -.04em; }
.hero h1 { max-width: 12ch; font-size: clamp(3.15rem, 6vw, 6.25rem); line-height: .99; font-weight: 740; }
.hero h1 em { display: block; color: var(--ice); font-style: normal; }
.hero-summary { max-width: 36ch; margin-top: 1.35rem; color: #c7dce8; font-size: clamp(1.05rem, 1.65vw, 1.24rem); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .62rem 1.28rem; margin-top: 1.6rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 47px;
  padding: .65rem 1.02rem;
  border: 1px solid transparent;
  border-radius: .6rem;
  text-align: center;
  text-decoration: none;
  font-weight: 720;
  line-height: 1.25;
}
.button-ice { background: var(--ice); color: #092438; }
.button-ice:hover { background: #cdf2ff; }
.button-text { padding-inline: .15rem; color: #eaf6ff; }
.button-text:hover { text-decoration: underline; }
.platforms { margin-top: 1.1rem; color: #aac6d7; font-size: .91rem; font-weight: 590; }
.hero-art {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  aspect-ratio: 1.17;
  border-radius: 1.3rem .42rem 1.3rem .42rem;
  border: 1px solid #365a6e;
  background: linear-gradient(148deg, #113d58, #071a2b 75%);
}
.hero-art::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: url("NUVEFORT%20YD.png") center 56% / cover;
  mask-image: linear-gradient(120deg, transparent 3%, #000 72%);
  opacity: .53;
}
.hero-art::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(141deg, transparent 50%, #a8e7ff42 50.3%, #1e7aa71c 73%, transparent 73.3%);
}
.device {
  overflow: hidden;
  min-width: 0;
  padding: clamp(.22rem, .48vw, .48rem);
  border: 1px solid #648a9e;
  border-radius: clamp(.8rem, 2vw, 1.65rem);
  background: linear-gradient(155deg, #456171, #06111a 19%, #0b1c2a 82%, #457999);
  box-shadow: 0 1.1rem 2.4rem #020a13a0, inset 0 0 0 1px #bddff445;
}
.device img { width: 100%; border-radius: clamp(.53rem, 1.6vw, 1.15rem); }
.hero-wide { position: absolute; width: 83%; top: 10%; right: -5%; transform: rotate(4deg); }
.hero-phone { position: absolute; width: 35%; left: 11%; top: 19%; transform: rotate(-8deg); }

.features { display: grid; grid-template-columns: minmax(0, .87fr) minmax(0, 1.13fr); align-items: center; padding-block: clamp(3.2rem, 8vw, 7rem); gap: clamp(1.8rem, 7vw, 5.85rem); }
.features h2, .previews h2 { font-size: clamp(2.2rem, 4.55vw, 4.15rem); font-weight: 740; }
.feature-copy > p { margin-top: .78rem; color: var(--muted); font-size: 1.08rem; max-width: 44ch; }
.feature-list { display: grid; gap: .95rem; margin-top: 1.55rem; }
.feature-list section { border-left: 2px solid #91c0da; padding-left: .94rem; }
.feature-list h3 { font-size: 1.15rem; }
.feature-list p { margin-top: .35rem; color: var(--muted); max-width: 45ch; }
.example {
  display: grid;
  padding: clamp(1.15rem, 3.4vw, 2.25rem);
  border: 1px solid var(--line);
  border-top: 3px solid #378db8;
  border-radius: 1.06rem;
  background: var(--surface);
  box-shadow: 0 1rem 3rem #173e5516;
}
.example-header { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: .35rem 1rem; }
.example-header h3 { font-size: clamp(1.1rem, 2vw, 1.45rem); font-weight: 735; }
.example-header span { font-size: .86rem; color: var(--muted); }
.example-value { margin-top: .72rem; font-size: clamp(2.85rem, 5.7vw, 4.85rem); line-height: 1.05; font-weight: 740; letter-spacing: -.06em; font-variant-numeric: tabular-nums; }
.example-month { margin-top: .22rem; color: var(--muted); font-size: .94rem; }
#example-plot { display: block; width: 100%; height: clamp(8.2rem, 15vw, 14rem); margin-top: .98rem; --plot-stroke: #006b9e; --plot-selected: #006b9e; --plot-fill: #2299ce3e; --plot-grid: #d3e3ee; }
.months { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .12rem; margin-top: .3rem; }
.months button, .gallery-tabs button { border: 1px solid transparent; border-radius: .48rem; min-height: 44px; padding: .28rem .2rem; background: transparent; font-size: .91rem; font-weight: 690; }
.months button { color: var(--muted); }
.months button[aria-pressed="true"] { background: #daeffb; color: #0d4867; }
.months button:hover:not([aria-pressed="true"]) { background: var(--paper); }

.previews { padding-block: clamp(3rem, 7vw, 6.5rem); color: #f1f8ff; background: #0a1b2a; }
.gallery-tabs { display: inline-flex; flex-wrap: wrap; gap: .24rem; padding: .25rem; margin-top: 1.24rem; background: #142c3e; border: 1px solid #365464; border-radius: .66rem; }
.gallery-tabs button { color: #e3f0f8; padding-inline: clamp(.72rem, 2vw, 1.15rem); }
.gallery-tabs button[aria-pressed="true"] { background: var(--ice); color: #092438; }
.gallery-tabs button:hover:not([aria-pressed="true"]) { background: #21455c; }
.preview-panel {
  display: grid;
  grid-template-columns: minmax(0, .58fr) minmax(0, 1.42fr);
  align-items: center;
  gap: clamp(1.15rem, 5vw, 4rem);
  margin-top: .72rem;
  padding: clamp(1.1rem, 4vw, 3.5rem);
  border: 1px solid #36586b;
  border-radius: 1.13rem;
  background: radial-gradient(ellipse at 85% 0, #1a4e67 0, transparent 57%), #11283a;
}
.preview-copy h3 { font-size: clamp(1.6rem, 3vw, 2.7rem); }
.preview-copy p { max-width: 29ch; margin-top: .65rem; color: var(--steel); }
.preview-art { display: grid; align-items: end; gap: clamp(.55rem, 3vw, 1.2rem); width: 100%; margin-inline: auto; }
.phones { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 32rem; }
.tablets { max-width: 27rem; }
.foldables { grid-template-columns: minmax(0, 1.65fr) minmax(0, .82fr); }
.preview-art figcaption { margin-top: .6rem; color: #c5ddea; text-align: center; font-size: .9rem; }

.footer { border-top: 1px solid #2b495d; }
.footer-inner { min-height: 6rem; flex-wrap: wrap; padding-block: 1rem; }
.document-top { background: linear-gradient(118deg, var(--navy), #10334a); }
.document-page { display: flex; flex-direction: column; min-height: 100vh; }
.document { width: min(100% - 3.5rem, 48rem); margin-inline: auto; padding-block: clamp(2.5rem, 7vw, 5.6rem); }
.document-page .document { flex: 1; }
.document h1 { font-size: clamp(2.4rem, 6vw, 4.5rem); font-weight: 740; }
.document h2 { font-size: clamp(1.35rem, 3vw, 1.8rem); margin-top: 1.8rem; }
.document p, .document ul { margin-top: .72rem; }
.document p, .document li { color: var(--muted); }
.document .intro { font-size: 1.13rem; }
.document a:not(.button) { color: var(--action); font-weight: 670; overflow-wrap: anywhere; }
.document .button { margin-top: .78rem; color: #fff; background: var(--action); }
.document .button:hover { background: #074975; }
.document details { margin-top: .65rem; padding: .8rem .95rem; border: 1px solid var(--line); border-radius: .66rem; background: var(--surface); }
.document summary { cursor: pointer; font-weight: 730; }
.document details p { padding-left: .1rem; margin-bottom: .3rem; }
.contact-card { margin-top: 1.25rem; padding: 1.16rem; border: 1px solid var(--line); border-left: 3px solid #378db8; border-radius: .65rem; background: var(--surface); }
.contact-card .button { margin-top: 0; }

@media (max-width: 820px) {
  .hero, .features, .preview-panel { grid-template-columns: minmax(0, 1fr); }
  .hero h1 { max-width: 13ch; }
  .hero-art { width: min(100%, 42rem); margin-inline: auto; aspect-ratio: 1.26; }
  .features { align-items: start; }
  .feature-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 490px) {
  .wrap, .document { width: calc(100% - 2rem); }
  .header { min-height: 4.45rem; }
  .wide-link { display: none; }
  .hero { gap: 1.5rem; padding-top: 2.4rem; }
  .hero h1 { font-size: clamp(2.8rem, 11vw, 3.55rem); }
  .hero-art { aspect-ratio: 1.13; }
  .hero-phone { width: 39%; left: 9%; }
  .hero-wide { width: 85%; right: -8%; }
  .feature-list { grid-template-columns: minmax(0, 1fr); }
  .months button, .gallery-tabs button { font-size: .86rem; }
}
@media (prefers-reduced-motion: no-preference) {
  .button, .gallery-tabs button, .months button { transition: background-color .15s ease; }
}
