:root {
  color-scheme: light;
  --paper: #fcf8f2;
  --ink: #2a1c24;
  --muted: #614f55;
  --accent: #983b2d;
  --accent-deep: #70251e;
  --line: #e7d8d1;
  --serif: Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 1rem/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.05; overflow-wrap: anywhere; }
h2 { font-size: clamp(2.1rem, 4.7vw, 3.5rem); letter-spacing: -.058em; }
p { text-wrap: pretty; }

.shell {
  width: min(100% - var(--gutter) * 2, 77rem);
  margin-inline: auto;
}
.skip-link {
  position: fixed;
  z-index: 3;
  inset: .5rem auto auto .5rem;
  padding: .5rem 1rem;
  background: var(--paper);
  color: var(--accent);
  transform: translateY(-150%);
}
.skip-link:focus { transform: none; }

.site-header { border-bottom: 1px solid var(--line); }
.header-inner {
  min-height: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  column-gap: .65rem;
}
.wordmark {
  font: 700 clamp(1.3rem, 3vw, 1.65rem)/1 var(--serif);
  letter-spacing: -.07em;
  text-decoration: none;
  white-space: nowrap;
}
.wordmark span { color: var(--accent); font-style: italic; }
.header-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .25rem clamp(.75rem, 2.8vw, 2.35rem);
  font-size: .9rem;
  font-weight: 650;
  margin-inline-start: auto;
}
.header-nav a {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  text-decoration: none;
}
.header-nav a:hover, .footer a:hover { color: var(--accent); }
.language-picker { position: relative; font-size: .9rem; font-weight: 650; z-index: 2; }
.language-picker > summary {
  display: flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--accent);
  padding-inline: .75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  list-style: none;
}
.language-picker > summary::-webkit-details-marker { display: none; }
.language-picker > summary:hover, .language-picker[open] > summary { border-color: var(--accent); }
.locale-menu {
  position: absolute;
  inset-block-start: calc(100% + .4rem);
  inset-inline-end: 0;
  min-width: 12rem;
  max-width: calc(100vw - var(--gutter) * 2);
  max-height: min(37rem, 100dvh - 5.2rem);
  overflow: auto;
  margin: 0;
  padding: .35rem;
  list-style: none;
  background: #fffdf9;
  border: 1px solid var(--line);
  border-radius: .9rem;
  box-shadow: 0 .45rem 1.4rem #452d3725;
}
.locale-menu a {
  display: block;
  padding: .5rem .65rem;
  border-radius: .5rem;
  text-decoration: none;
}
.locale-menu a:hover, .locale-menu [aria-current] { background: #f3e7df; color: var(--accent-deep); }
.locale-menu a:focus-visible { outline-offset: -2px; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  padding-block: clamp(2.5rem, 5.5vw, 5.2rem);
}
.hero-copy { padding-block: .4rem; }
.eyebrow {
  color: var(--accent);
  font-size: .83rem;
  font-weight: 760;
  letter-spacing: .075em;
  line-height: 1.45;
  text-transform: uppercase;
}
.hero .eyebrow::before {
  content: "";
  display: inline-block;
  vertical-align: .16em;
  width: .5rem;
  height: .5rem;
  margin-inline-end: .48rem;
  border-radius: 50%;
  background: #ba5540;
}
.hero h1 {
  margin-block: .95rem 1.25rem;
  font-size: clamp(4.4rem, 8.6vw, 8.2rem);
  line-height: .87;
  letter-spacing: -.079em;
}
.hero h1 em {
  display: block;
  padding-block-end: .09em;
  color: var(--accent);
  font-weight: inherit;
}
:lang(ru) .hero h1 { font-size: clamp(3.75rem, 7.3vw, 7rem); }
html:not(:lang(en)):not(:lang(ru)) .hero h1 { font-size: clamp(2.8rem, 6.7vw, 6.5rem); }
:lang(ar) .hero h1 em, :lang(zh-Hans) .hero h1 em { font-style: normal; }
:lang(ar) h1, :lang(ar) h2, :lang(ar) h3, :lang(ar) .eyebrow { letter-spacing: normal; }
:lang(ja) { --serif: Georgia, "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif CJK JP", serif; }
:lang(ja) h1, :lang(ja) h2, :lang(ja) h3 { letter-spacing: -.025em; }
.hero-intro {
  max-width: 29rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  line-height: 1.62;
}
.button {
  display: inline-flex;
  align-items: center;
  min-height: 3.15rem;
  margin-block-start: 1.55rem;
  padding: .65rem 1.25rem;
  border-radius: 999px;
  color: white;
  background: var(--accent);
  font-size: .94rem;
  font-weight: 700;
  text-decoration: none;
}
.button:hover { background: var(--accent-deep); }
.hero-figure { position: relative; }
.hero-stage {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  overflow: hidden;
  aspect-ratio: 1.235;
  border-radius: clamp(1rem, 2vw, 1.8rem);
  background: radial-gradient(ellipse at 50% 62%, #904b38 0%, #482b35 51%, #2c1e2b 82%);
}
.dial-rings {
  position: absolute;
  z-index: -1;
  width: 75%;
  aspect-ratio: 1;
  border: 1px solid #ffc1a051;
  border-radius: 50%;
  box-shadow: 0 0 0 clamp(.5rem, 2vw, 1.8rem) #f7a16b12, 0 0 0 clamp(.7rem, 3.2vw, 2.8rem) #f7a16b0b;
}
.dial-rings::after {
  content: "";
  position: absolute;
  inset: -10%;
  border: 1px solid #ffe1bd29;
  border-radius: inherit;
}
.hero-dial {
  position: relative;
  width: 63.5%;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 50%;
  background: #17141e;
  box-shadow: 0 0 0 .32rem #1c1720, 0 0 0 .41rem #a5766e, 0 .8rem 2.4rem .3rem #180d16aa;
}
.hero-dial video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
}
.hero-dial video.has-frame { opacity: 1; }
.hero-playback {
  position: absolute;
  inset-block-end: .65rem;
  inset-inline-end: .8rem;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid #fff3e875;
  border-radius: 50%;
  background: #2c1e2b;
  color: #fff3e8;
  cursor: pointer;
}
.hero-playback:hover { background: #482b35; }
.hero-playback:focus-visible { outline: 2px solid #fff3e8; outline-offset: 2px; }
.hero-playback::before {
  content: "";
  margin-left: .13rem;
  border-block: .44rem solid transparent;
  border-left: .7rem solid currentColor;
}
.hero-playback[data-playing]::before {
  width: .7rem;
  height: .88rem;
  margin: 0;
  border: 0;
  border-inline: .21rem solid currentColor;
}
.hero-figure figcaption {
  position: absolute;
  inset-block-end: .85rem;
  inset-inline-start: 1.15rem;
  color: #fff3e8;
  font-size: .79rem;
  font-weight: 650;
}

.coat-section {
  background: #f5ebe3;
  border-block: 1px solid var(--line);
  padding-block: clamp(2.2rem, 4.3vw, 3.8rem);
}
.section-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: .5rem 1.25rem;
  margin-block-end: 1.35rem;
}
.section-heading p { color: var(--muted); }
.coat-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: clamp(.55rem, 1.4vw, 1rem);
  list-style: none;
  padding: 0;
  margin: 0;
}
.coat {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  align-items: center;
  gap: .55rem;
  padding: .75rem .4rem .7rem;
  border: 1px solid #43293718;
  border-radius: 1rem;
  background: var(--coat-bg);
  font-size: .88rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  transition: box-shadow .18s ease, transform .18s ease;
}
.coat:hover { box-shadow: 0 .25rem .7rem #4c354018; transform: translateY(-.18rem); }
.coat-image { display: block; width: min(91%, 9rem); }
.coat img {
  border-radius: 50%;
  box-shadow: 0 0 0 1px #0f0b163f, 0 .24rem .7rem #34202f30;
}
.ginger { --coat-bg: #f7dcc4; }
.black { --coat-bg: #e2dce9; }
.grey { --coat-bg: #dce9e5; }
.calico { --coat-bg: #f1d9de; }
.siamese { --coat-bg: #e2e8ef; }
.white { --coat-bg: #ebe6f2; }
.fold { --coat-bg: #efdcd4; }

.sleep-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.1rem 2rem;
  margin-block-start: 1rem;
  padding: clamp(1.05rem, 2.5vw, 1.8rem);
  border: 1px solid var(--line);
  border-radius: 1.15rem;
  background: #fffaf5;
}
.sleep-panel h3 { font-size: clamp(1.7rem, 3.7vw, 2.65rem); letter-spacing: -.042em; scroll-margin-block-start: 1rem; }
.sleep-panel p { margin-block-start: .35rem; color: var(--muted); }
.sleep-screens {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 10rem));
  align-items: start;
  gap: clamp(.6rem, 2vw, 1.45rem);
}
.sleep-screens a { display: block; border-radius: 50%; }
.sleep-screens img { border-radius: inherit; }
.sleep-screens figcaption {
  margin-block-start: .36rem;
  color: var(--muted);
  font-size: .88rem;
  font-weight: 650;
  line-height: 1.3;
  text-align: center;
}

.platforms { padding-block: clamp(2.5rem, 5vw, 4.85rem); }
.platforms > h2 { margin-block-end: 1.4rem; }
.platform-grid {
  display: grid;
  grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr);
  gap: 1rem;
}
.platform {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .9rem;
  padding: clamp(1rem, 2.5vw, 2rem);
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  background: #fffdf9;
}
.platform-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .65rem 1rem;
}
.huawei { grid-column: 1 / -1; }
.platform h3 { font-size: clamp(1.65rem, 2.9vw, 2.35rem); letter-spacing: -.045em; }
.status {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .22rem .58rem;
  border-radius: 999px;
  font-size: .84rem;
  font-weight: 700;
  line-height: 1.5;
}
.status::before {
  content: "";
  width: .42rem;
  height: .42rem;
  flex: none;
  border-radius: 50%;
  background: currentColor;
}
.wear-status { color: #5e3b24; background: #f7e3ce; }
.prep-status { color: #523961; background: #ede3f2; }
.platform p:not(.status), .platform-details { color: var(--muted); }
.platform-details {
  padding-inline-start: 1.1rem;
  margin: 0;
}
.platform-details li + li { margin-block-start: .45rem; }
.platform-details li::marker { color: var(--accent); }
.platform > .text-link { margin-block-start: auto; }
.app-languages { max-width: 100%; }
.app-languages summary {
  color: var(--accent);
  cursor: pointer;
  font-size: .92rem;
  font-weight: 700;
}
.app-languages p { margin-block-start: .4rem; overflow-wrap: anywhere; }
.garmin-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: 1rem;
}
.garmin-copy p + p { margin-block-start: .7rem; }
.garmin-copy .app-languages { margin-block-start: .9rem; }
.garmin-preview {
  display: grid;
  justify-items: center;
  padding: .8rem .65rem;
  border-radius: 1rem;
  background: #f2ecf4;
}
.garmin-screens {
  width: min(100%, 20rem);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: end;
  gap: .55rem;
}
.garmin-screens img { margin-inline: auto; height: auto; }
.garmin-screens .round-screen { width: 100%; border-radius: 50%; }
.garmin-screens .rect-screen { width: 89%; border-radius: .65rem; }
.garmin-screens figcaption {
  margin-block-start: .5rem;
  color: #523961;
  font-size: .78rem;
  font-weight: 650;
  line-height: 1.4;
  text-align: center;
}
.text-link {
  color: var(--accent);
  font-weight: 700;
  text-decoration-thickness: .075em;
  text-underline-offset: .2em;
}
.text-link:hover { color: var(--accent-deep); }

.support-panel {
  min-height: 12.5rem;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: clamp(1.35rem, 4vw, 2.65rem);
  border-radius: 1.4rem;
  background: #f3dfd1;
}
.support-copy { width: min(65%, 37rem); position: relative; z-index: 1; }
.support-copy p { margin-block: .65rem .35rem; color: var(--muted); }
.support-copy a { overflow-wrap: anywhere; }
.support-art {
  position: absolute;
  inset-block-end: 0;
  inset-inline-end: clamp(1.5rem, 7vw, 7rem);
  width: clamp(11rem, 23vw, 19rem);
  height: 83%;
}
.support-art::before {
  content: "";
  position: absolute;
  inset: 5% -3% auto;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #eab89b;
}
.support-art img { position: relative; width: 100%; filter: drop-shadow(0 .3rem .6rem #a46a5140); }
.footer {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .75rem;
  padding-block: 1.4rem 1.7rem;
  color: var(--muted);
  font-size: .9rem;
  font-weight: 650;
}
.footer a { text-underline-offset: .2em; }

.coat-dialog {
  width: min(100% - 1.5rem, 34rem);
  max-height: calc(100dvh - 1.5rem);
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  background: var(--paper);
  color: var(--ink);
}
.coat-dialog::backdrop { background: #251723d8; }
.dialog-panel { display: grid; gap: .8rem; padding: 1rem; }
.dialog-heading, .dialog-controls { display: flex; align-items: center; justify-content: space-between; gap: .55rem; }
.dialog-heading h2 { font-size: clamp(1.3rem, 5vw, 2rem); line-height: 1.1; }
.dialog-button {
  min-height: 2.75rem;
  padding: .25rem .75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--accent);
  background: #fffdf9;
  font-size: .87rem;
  font-weight: 700;
  cursor: pointer;
}
.dialog-button:hover { border-color: var(--accent); }
.dialog-image {
  width: min(100%, max(10rem, 100dvh - 11.5rem), 28.375rem);
  margin-inline: auto;
  border-radius: 50%;
}

.policy-main { padding-block: clamp(2.2rem, 6vw, 5.3rem); }
.policy-article { max-width: 44rem; margin-inline: auto; }
.policy-article h1 {
  margin-block: .65rem 1.15rem;
  font-size: clamp(2.6rem, 7vw, 5rem);
  letter-spacing: -.063em;
  overflow-wrap: anywhere;
}
:lang(ru) .policy-article h1 { font-size: clamp(1.48rem, 7vw, 3.95rem); }
.policy-article h2 {
  margin-block: 1.65rem .5rem;
  font-size: clamp(1.45rem, 3.4vw, 2rem);
  line-height: 1.16;
  letter-spacing: -.035em;
}
.policy-article p { color: var(--muted); overflow-wrap: anywhere; }
.policy-article .eyebrow, .policy-article a { color: var(--accent); }
.policy-article p + p { margin-block-start: .6rem; }
.policy-article a { text-underline-offset: .16em; }

@media (max-width: 65rem) {
  .coat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .platform-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
  .garmin-body { grid-template-columns: minmax(0, 1fr); width: 100%; }
}

@media (max-width: 47rem) {
  .header-inner { min-height: 3.9rem; }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 1.65rem; }
  .hero h1 { font-size: clamp(4.1rem, 13vw, 6.1rem); }
  :lang(ru) .hero h1 { font-size: clamp(3.6rem, 11vw, 5.7rem); }
  html:not(:lang(en)):not(:lang(ru)) .hero h1 { font-size: clamp(2.8rem, 9.5vw, 5.4rem); }
  .hero-stage { aspect-ratio: 1.18; }
  .hero-figure figcaption { inset-block-end: .55rem; inset-inline-start: .75rem; }
  .platform-grid { grid-template-columns: minmax(0, 1fr); }
  .support-copy { width: min(74%, 27rem); }
  .support-art { inset-inline-end: -.3rem; width: 29%; height: 54%; }
}

@media (max-width: 34rem) {
  .header-nav .optional-nav { display: none; }
  .header-nav { gap: .35rem .65rem; font-size: .84rem; }
  .language-picker { font-size: .84rem; }
  .language-picker > summary { padding-inline: .6rem; }
  .coat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sleep-panel { grid-template-columns: minmax(0, 1fr); }
  .hero-dial { width: 66%; }
  .hero-figure figcaption { font-size: .75rem; }
  .support-copy { width: 80%; }
  .support-art { inset-inline-end: -1rem; width: 28%; height: 41%; }
}

@media (max-width: 23rem) {
  .header-nav { display: none; }
  .language-picker { margin-inline-start: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .coat { transition: none; }
  .coat:hover { transform: none; }
}
