/* Theme colors */
:root {
  color-scheme: dark;
  --bg: #090a0b;
  --surface: #121416;
  --text: #f4f4f0;
  --muted: #9b9da2;
  --accent: #ffc263;
  --line: #292b2e;
}
/* Base styles */
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 95px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 6px;
}
::selection {
  background: #ffc263;
  color: #090a0b;
}
/* Shared containers, header, and buttons */
.wrap {
  width: min(1200px, calc(100% - 80px));
  margin: auto;
}
.header {
  height: 94px;
  width: min(1360px, calc(100% - 80px));
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 21px;
  font-weight: 650;
  letter-spacing: -0.6px;
  white-space: nowrap;
}
.brand img {
  border-radius: 10px;
}
.brand span {
  font-weight: 400;
  color: var(--muted);
  margin-left: -5px;
}
.header nav {
  display: flex;
  gap: 30px;
  font-size: 14px;
  color: #bdbec1;
}
.header nav a:hover,
.text-link:hover {
  color: var(--accent);
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  background: var(--accent);
  color: #16110a;
  border: 1px solid var(--accent);
  padding: 15px 23px;
  border-radius: 7px;
  font-weight: 650;
  font-size: 15px;
  transition:
    background 0.2s,
    transform 0.2s;
}
.button:hover {
  background: #ffd28a;
  transform: translateY(-2px);
}
.button.small {
  padding: 10px 16px;
  font-size: 14px;
  gap: 18px;
}
/* Homepage hero */
.hero {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  min-height: 780px;
  align-items: center;
  gap: 20px;
  padding-top: 45px;
  padding-bottom: 50px;
}
.eyebrow {
  font-size: 12px;
  letter-spacing: 2.1px;
  font-weight: 650;
  color: var(--accent);
  margin: 0 0 23px;
}
.eyebrow > span {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: middle;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: clamp(48px, 5.5vw, 78px);
  letter-spacing: -4px;
  line-height: 1.08;
  font-weight: 600;
  margin-bottom: 29px;
}
em {
  font-style: normal;
  color: var(--accent);
}
.intro {
  font-size: 21px;
  line-height: 1.6;
  letter-spacing: -0.3px;
}
.muted {
  color: var(--muted);
}
.hero-description {
  max-width: 440px;
  font-size: 16px;
}
.actions {
  display: flex;
  gap: 27px;
  align-items: center;
  margin: 32px 0 17px;
}
.text-link {
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 20px;
}
.footnote {
  font-size: 12px;
  color: #888a8e;
}
.hero-visual {
  position: relative;
  min-height: 625px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.orbit {
  position: absolute;
  inset: 60px -25px 20px;
  background: radial-gradient(ellipse, #78562328, transparent 67%);
  border: 1px solid #b8905020;
  border-radius: 50%;
  transform: rotate(-20deg);
}
.hero-phone {
  width: 257px;
  border: 6px solid #272829;
  outline: 1px solid #525252;
  border-radius: 39px;
  box-shadow: 0 30px 80px #000;
  transform: rotate(7deg);
  position: relative;
  left: 30px;
}
.hero-watch {
  position: absolute;
  width: 179px;
  left: 0;
  bottom: 66px;
  background: #030303;
  padding: 9px 6px;
  border: 4px solid #333436;
  outline: 1px solid #747473;
  border-radius: 39px;
  box-shadow: 10px 25px 55px #000b;
  transform: rotate(-9deg);
}
.hero-watch img {
  border-radius: 29px;
}
.visual-caption {
  position: absolute;
  right: 0;
  bottom: 12px;
  font-size: 12px;
  color: #b6b2ab;
}
.visual-caption span {
  font-size: 10px;
  letter-spacing: 1.5px;
  margin-right: 14px;
  color: var(--accent);
}
/* Integrations overview */
.integration-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 30px 0;
  gap: 25px;
}
.integration-strip p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}
.integration-strip strong {
  color: #d5d5d5;
  font-weight: 500;
}
.integration-strip > div {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.5px;
}
.integration-strip > div span {
  display: block;
  font-size: 11px;
  color: var(--muted);
  font-weight: 400;
  letter-spacing: 1px;
}
/* Dashboard feature sections */
.section {
  padding-top: 120px;
  padding-bottom: 40px;
}
h2 {
  font-size: clamp(35px, 3.8vw, 52px);
  line-height: 1.12;
  letter-spacing: -2px;
  font-weight: 550;
  margin-bottom: 25px;
}
.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 70px;
  margin-bottom: 38px;
}
.section-heading > p {
  max-width: 380px;
  color: var(--muted);
  margin-bottom: 28px;
}
.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.feature-panel {
  height: 570px;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(150deg, #181b20, #101214);
}
.climate-panel {
  background: linear-gradient(150deg, #211c17, #111214);
}
.panel-copy {
  padding: 36px 36px 0;
  position: relative;
  z-index: 1;
}
.index {
  font-size: 11px;
  letter-spacing: 1.7px;
  color: #9b9da2;
}
h3 {
  font-size: 25px;
  line-height: 1.25;
  letter-spacing: -0.7px;
  font-weight: 550;
  margin: 14px 0;
}
.panel-copy p {
  font-size: 15px;
  color: var(--muted);
  max-width: 390px;
}
.feature-panel > img {
  width: 235px;
  margin: 35px auto 0;
  border: 5px solid #333538;
  border-radius: 32px;
  transform: rotate(-6deg);
  box-shadow: 0 20px 60px #0009;
}
.climate-panel > img {
  transform: rotate(6deg);
}
.under-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  margin-top: 30px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 40px;
}
.under-grid h3 {
  font-size: 20px;
}
.under-grid p {
  color: var(--muted);
  font-size: 15px;
  margin-top: 12px;
}
/* Apple Watch showcase */
.watch-section {
  margin-top: 95px;
  padding: 100px 0 65px;
  background: radial-gradient(ellipse at 50% 48%, #242015 0%, #101112 60%);
  border-block: 1px solid #242527;
}
.watch-heading {
  text-align: center;
}
.watch-heading h2 {
  font-size: clamp(42px, 5vw, 66px);
}
.watch-heading > p:last-child {
  color: var(--muted);
}
.watch-gallery {
  display: flex;
  justify-content: center;
  gap: 70px;
  margin: 60px 0 40px;
}
.watch-gallery figure {
  margin: 0;
  width: 200px;
}
.watch-gallery img {
  background: #000;
  border: 5px solid #343536;
  outline: 1px solid #62615e;
  border-radius: 42px;
  padding: 7px 4px;
  box-shadow: 0 22px 35px #0008;
}
.watch-gallery figure:nth-child(2) {
  transform: translateY(-12px);
}
figcaption {
  text-align: center;
  margin-top: 25px;
  font-size: 14px;
  color: #cbcbca;
}
.watch-details {
  border-top: 1px solid var(--line);
  padding-top: 35px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}
.watch-details p {
  font-size: 15px;
  color: var(--muted);
}
.watch-details strong {
  display: block;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 7px;
}
/* Connections list */
.connections {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
}
.connections .muted {
  max-width: 435px;
}
.connection-note {
  color: var(--muted);
  margin-top: 35px;
}
.connection-note strong {
  color: var(--accent);
  font-weight: 500;
}
.connection-list > div {
  display: flex;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.connection-list h3 {
  font-size: 20px;
  margin: 0;
  flex: 1;
}
.connection-list small {
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
  margin-left: 8px;
  letter-spacing: 0;
}
.connection-list > div > span:last-child {
  font-size: 12px;
  color: #6c6e71;
}
.connection-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: #1b1d20;
  color: var(--accent);
  border: 1px solid #353330;
  border-radius: 12px;
  font-size: 18px;
}
/* Configuration section */
.setup {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.setup-image {
  height: 580px;
  background: #131517;
  border: 1px solid var(--line);
  border-radius: 18px;
  display: flex;
  gap: 25px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.setup-image img {
  width: 43%;
  border: 4px solid #343537;
  border-radius: 26px;
  box-shadow: 0 20px 40px #0008;
  transform: translateY(40px);
}
.setup-image img + img {
  transform: translateY(-40px);
}
.detail {
  border-top: 1px solid var(--line);
  padding-top: 12px;
  margin-top: 25px;
}
.detail h3 {
  font-size: 18px;
}
.detail p {
  font-size: 15px;
  color: var(--muted);
}
/* Free and Premium comparison */
.pricing-heading {
  text-align: center;
}
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 960px;
  margin: 40px auto 0;
}
.price-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 36px;
  background: #111315;
  display: flex;
  flex-direction: column;
}
.price-card h3 {
  font-size: 30px;
  min-height: 75px;
  margin-top: 0;
}
.price-card > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 15px;
  min-height: 48px;
}
.price-card ul {
  list-style: none;
  padding: 0;
  margin: 15px 0 30px;
}
.price-card li {
  margin-bottom: 13px;
  font-size: 15px;
}
.price-card li:before {
  content: "✓";
  color: var(--accent);
  margin-right: 13px;
}
.price-bottom {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-top: auto;
  font-size: 14px;
  color: #bfc0c1;
}
.premium {
  background: linear-gradient(140deg, #292219, #171513);
  border-color: #665035;
}
.premium .price-bottom {
  color: var(--accent);
  border-color: #4a3a28;
}
.demo-note {
  color: var(--muted);
  font-size: 14px;
  max-width: 660px;
  text-align: center;
  margin: 30px auto;
}
/* Homepage privacy summary */
.privacy {
  margin-top: 75px;
  display: flex;
  gap: 35px;
  border-block: 1px solid var(--line);
  padding: 48px 30px;
}
.privacy-mark {
  font-size: 50px;
  color: var(--accent);
  line-height: 1.3;
}
.privacy .eyebrow {
  margin-bottom: 12px;
}
.privacy h2 {
  font-size: 29px;
  letter-spacing: -1px;
  margin-bottom: 13px;
}
.privacy p:last-child {
  font-size: 15px;
  color: var(--muted);
  max-width: 850px;
  margin-bottom: 0;
}
/* Closing and footer */
.closing {
  text-align: center;
  padding: 105px 0;
}
.closing h2 {
  font-size: clamp(38px, 4.7vw, 64px);
}
.closing .text-link {
  margin-top: 10px;
}
footer {
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px 0 40px;
  gap: 20px;
}
footer p,
footer > span {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}
footer .brand {
  font-size: 18px;
}
/* Keyboard accessibility */
.skip {
  position: absolute;
  top: -70px;
  padding: 10px 20px;
  background: var(--accent);
  color: #000;
  z-index: 5;
}
.skip:focus {
  top: 10px;
}
/* Wide desktop adjustments */
@media (min-width: 1600px) {
  .hero {
    min-height: 830px;
  }
}
/* Tablet and compact desktop adjustments */
@media (max-width: 1000px) {
  .wrap,
  .header {
    width: calc(100% - 48px);
  }
  .header nav {
    gap: 16px;
  }
  .hero {
    min-height: 700px;
  }
  h1 {
    letter-spacing: -2.5px;
  }
  .hero-phone {
    width: 220px;
  }
  .hero-watch {
    width: 150px;
    left: 0;
    bottom: 100px;
  }
  .hero-visual {
    min-height: 570px;
  }
  .hero .actions {
    flex-wrap: wrap;
    gap: 18px;
  }
  .connections,
  .setup {
    gap: 45px;
  }
  .watch-gallery {
    gap: 40px;
  }
  .integration-strip > div {
    font-size: 16px;
  }
  .setup-image {
    height: 500px;
  }
  .section-heading {
    gap: 35px;
  }
  .section-heading > p {
    max-width: 300px;
  }
  .under-grid {
    gap: 35px;
  }
}
/* Mobile layout */
@media (max-width: 700px) {
  .wrap,
  .header {
    width: calc(100% - 36px);
  }
  .header {
    height: 78px;
  }
  .header nav {
    display: none;
  }
  .header .brand {
    font-size: 18px;
  }
  .header .brand img {
    width: 33px;
    height: 33px;
  }
  .button.small {
    font-size: 12px;
    padding: 9px 11px;
    gap: 9px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-top: 55px;
    padding-bottom: 25px;
    gap: 0;
  }
  .hero-copy {
    text-align: center;
  }
  .hero h1 {
    font-size: clamp(44px, 10.5vw, 68px);
    letter-spacing: -2.5px;
  }
  .hero .intro {
    font-size: 18px;
  }
  .hero-description {
    margin-inline: auto;
  }
  .actions {
    justify-content: center;
  }
  .hero-visual {
    min-height: 560px;
    width: min(390px, 100%);
    margin: auto;
  }
  .hero-phone {
    width: 225px;
    left: 25px;
  }
  .hero-watch {
    width: 151px;
    left: 5px;
    bottom: 70px;
  }
  .orbit {
    inset: 70px 0 30px;
  }
  .visual-caption {
    right: 10px;
    bottom: 10px;
  }
  .integration-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px 16px;
    text-align: center;
    padding: 26px 0;
  }
  .integration-strip p {
    font-size: 12px;
  }
  .integration-strip > div {
    font-size: 16px;
  }
  .section {
    padding-top: 75px;
    padding-bottom: 10px;
  }
  .section-heading {
    display: block;
  }
  .section-heading > p {
    max-width: none;
  }
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  .feature-panel {
    height: 535px;
  }
  .panel-copy {
    padding: 27px 25px 0;
  }
  .under-grid {
    display: block;
    margin-top: 25px;
    padding-bottom: 20px;
  }
  .watch-section {
    margin-top: 65px;
    padding: 65px 0 35px;
  }
  .watch-gallery {
    gap: 14px;
    margin-top: 45px;
  }
  .watch-gallery figure {
    width: 31%;
  }
  .watch-gallery img {
    border-width: 3px;
    padding: 3px 2px;
    border-radius: 23px;
  }
  .watch-gallery figcaption {
    font-size: 12px;
    line-height: 1.5;
  }
  .watch-details {
    gap: 25px;
    grid-template-columns: 1fr;
  }
  .watch-details p {
    margin-bottom: 0;
  }
  .connections,
  .setup {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .connection-note {
    margin-bottom: 0;
  }
  .setup-image {
    height: 465px;
    max-width: 450px;
    width: 100%;
    margin: auto;
  }
  .setup > div:last-child {
    grid-row: 1;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    margin-top: 28px;
  }
  .price-card {
    padding: 28px;
  }
  .price-card h3 {
    min-height: 0;
  }
  .price-card > p:not(.eyebrow) {
    min-height: 0;
  }
  .privacy {
    margin-top: 55px;
    padding: 32px 5px;
    gap: 20px;
  }
  .privacy-mark {
    font-size: 35px;
  }
  .privacy h2 {
    font-size: 25px;
  }
  .closing {
    padding: 75px 0;
  }
  .closing .eyebrow {
    font-size: 10px;
    letter-spacing: 1.2px;
  }
  footer {
    flex-wrap: wrap;
    justify-content: center;
  }
  footer p {
    display: none;
  }
  footer > span {
    width: 100%;
    text-align: center;
  }
  h2 {
    letter-spacing: -1.4px;
  }
  .eyebrow {
    font-size: 11px;
  }
}
/* Reduced-motion accessibility */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}

/* Contain decorative hero overflow */
.hero-visual {
  overflow: clip;
}

/* Shared footer links and privacy page */
.footer-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  color: var(--muted);
}
.footer-links a:hover {
  color: var(--accent);
}
.policy-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.policy-page main {
  flex: 1;
  padding-top: 100px;
  padding-bottom: 100px;
}
.policy-content {
  max-width: 760px;
}
.policy-content h1 {
  font-size: clamp(40px, 6vw, 64px);
  letter-spacing: -2px;
}
.policy-content > p:not(.eyebrow) {
  font-size: 20px;
  line-height: 1.8;
  color: #bdbec1;
}
.policy-content .policy-support {
  margin-top: 40px;
  font-size: 16px !important;
}
.policy-support a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 4px;
}
@media (max-width: 700px) {
  .footer-links {
    width: 100%;
    justify-content: center;
  }
  .policy-page main {
    padding-top: 65px;
    padding-bottom: 65px;
  }
  .policy-content > p:not(.eyebrow) {
    font-size: 18px;
  }
}
