/* Tenaxa: the app's teal, its contour map and dotted route. System font, so nothing loads from elsewhere. */
:root {
  --teal: #0E7D90; --deep: #0A5866; --night: #06343D; --flag: #FFB340;
  --ground: #F3F5F7; --card: #FFFFFF; --ink: #0B2329; --soft: #4A6168; --line: #DCE5E8; --link: #0A6A7B;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root { --ground: #071A1F; --card: #0E282F; --ink: #EDF5F7; --soft: #A4BAC0; --line: #1E3C44; --link: #6FD6E8; color-scheme: dark; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 18px/1.55 var(--font); }
img { max-width: 100%; display: block; }
a { color: var(--link); }
a:focus-visible { outline: 3px solid var(--flag); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.015em; text-wrap: balance; margin: 0; }
.wrap { width: min(1080px, 100% - 40px); margin-inline: auto; }

.bar { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 20px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; font-size: 22px; font-weight: 800; }
.brand img { width: 40px; height: 40px; border-radius: 9px; }
.bar nav { display: flex; gap: 22px; }
.bar nav a { color: #fff; text-decoration: none; font-weight: 600; font-size: 16px; }
.bar nav a:hover { text-decoration: underline; }

.top { position: relative; overflow: hidden; color: #fff; background: url("img/contours.svg") center / cover, linear-gradient(180deg, var(--teal), var(--deep) 45%, var(--night)); }
.hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px; align-items: end; padding-top: 44px; }
.hero h1 { font-size: clamp(50px, 7.4vw, 84px); font-weight: 900; }
.hero p { font-size: 22px; line-height: 1.4; color: #E6F6F9; margin: 22px 0 28px; max-width: 30em; }
.hero .copy { align-self: center; padding-bottom: 48px; }
.soon { display: inline-block; padding: 12px 22px; border-radius: 999px; background: #fff; color: var(--deep); font-weight: 800; }

.phone { background: #081417; padding: 8px; border-radius: 46px; box-shadow: 0 24px 60px rgba(2, 24, 29, .4); }
.phone img { width: 100%; border-radius: 38px; }
.hero .phone { width: min(360px, 100%); justify-self: center; height: 620px; overflow: hidden; border-radius: 46px 46px 0 0; padding-bottom: 0; }
.hero .phone img { border-radius: 38px 38px 0 0; }

.feature { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; align-items: center; padding-block: 72px; border-bottom: 1px solid var(--line); }
.feature:nth-of-type(even) .shot { order: 2; }
.feature h2 { font-size: clamp(34px, 4.4vw, 48px); font-weight: 900; }
.feature p { color: var(--soft); margin: 16px 0 0; font-size: 19px; }
.feature ul { margin: 20px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.feature li { padding-left: 24px; position: relative; }
.feature li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 9px; height: 9px; border-radius: 50%; background: var(--teal); }
.shot .phone { width: min(320px, 100%); margin-inline: auto; height: 520px; overflow: hidden; }
.shot .phone img { border-radius: 38px; }
.shot .phone.whole { height: auto; }
.watches { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; width: min(500px, 100%); margin-inline: auto; }
.watch { padding: 10px; background: #0B0F10; border-radius: 40px; box-shadow: 0 20px 50px rgba(2, 24, 29, .4); }
.watch img { width: 100%; border-radius: 30px; }
.watch.b { margin-top: 56px; }

.quiet { padding-block: 72px; }
.quiet h2 { font-size: clamp(30px, 3.8vw, 40px); font-weight: 900; }
.quiet p { max-width: 38em; color: var(--soft); }

.page { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: clamp(24px, 5vw, 56px); margin-block: -48px 64px; position: relative; }
.head { padding-block: 28px 96px; }
.head h1 { font-size: clamp(40px, 6vw, 60px); font-weight: 900; }
.head p { color: #E6F6F9; margin: 12px 0 0; font-size: 20px; max-width: 34em; }
.page h2 { font-size: 26px; font-weight: 800; margin: 40px 0 10px; }
.page h2:first-child { margin-top: 0; }
.page h3 { font-size: 19px; font-weight: 700; margin: 22px 0 6px; }
.page p, .page li { max-width: 42em; }
.page p { margin: 0 0 12px; }
.page ul { padding-left: 22px; margin: 0 0 12px; }
.page li { margin-bottom: 6px; }
.table { overflow-x: auto; margin: 12px 0 18px; }
table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 16px; }
th, td { text-align: left; vertical-align: top; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--line); }
th { font-weight: 700; }
details { border-bottom: 1px solid var(--line); padding-block: 14px; }
summary { font-weight: 700; cursor: pointer; }
details p, details ul, details ol { margin: 10px 0 4px; }
.mail { font-size: 22px; font-weight: 800; }

footer { background: var(--night); color: #CFE3E8; font-size: 16px; padding-block: 36px; }
footer a { color: #fff; }
footer .links { display: flex; flex-wrap: wrap; gap: 22px; margin-bottom: 14px; font-weight: 600; }
footer p { margin: 8px 0 0; max-width: 46em; }

@media (max-width: 820px) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: 8px; padding-top: 20px; }
  .hero .copy { padding-bottom: 28px; }
  .hero .phone { height: 480px; width: min(300px, 100%); }
  .feature { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-block: 52px; }
  .feature:nth-of-type(even) .shot { order: 0; }
  .shot .phone { height: 460px; width: min(290px, 100%); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
