/* WideMail Connect. Existing product palette, quieter composition. */
:root {
  color-scheme: dark;
  --bg: #08080d;
  --surface: #14141b;
  --border: #2c2c37;
  --text: #ece9e2;
  --muted: #9e9d96;
  --accent: #af7964;
  --line: rgba(236, 233, 226, .11);
  --width: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 112px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; line-height: 1.6; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; text-decoration: none; text-underline-offset: 5px; }
img { display: block; max-width: 100%; height: auto; }
svg { display: block; flex-shrink: 0; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; border-radius: 3px; }
::selection { color: var(--bg); background: var(--accent); }
.container { width: min(var(--width), calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: fixed; top: 12px; left: 16px; z-index: 100; padding: 12px 20px; color: var(--bg); background: var(--text); transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.arrow { width: 17px; height: 17px; }
.text-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 14px; font-weight: 500; }
.text-link:hover { color: var(--accent); }

.site-header { position: sticky; top: 0; z-index: 20; background: rgba(8, 8, 13, .94); border-bottom: 1px solid var(--line); }
.navigation { display: flex; justify-content: space-between; align-items: center; min-height: 84px; gap: 24px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; font-size: 23px; font-weight: 650; letter-spacing: -.8px; }
.wordmark img { width: 36px; height: 36px; }
.nav-links, .nav-actions { display: flex; align-items: center; gap: 28px; }
.nav-links { margin-left: auto; }
.nav-links a { color: var(--muted); font-size: 14px; min-height: 44px; display: flex; align-items: center; }
.nav-links a:hover { color: var(--text); }
.languages { display: flex; align-items: center; gap: 2px; }
.languages a { display: grid; place-items: center; min-width: 38px; min-height: 44px; color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: .04em; }
.languages a[aria-current] { color: var(--text); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 7px; }
.web-button { display: inline-flex; justify-content: center; align-items: center; gap: 10px; padding: 10px 17px; min-height: 44px; border: 1px solid rgba(175,121,100,.45); border-radius: 6px; color: var(--text); font-size: 13px; font-weight: 550; transition: border-color .18s, background-color .18s; }
.web-button:hover { border-color: var(--accent); background: rgba(175,121,100,.09); }

.hero { display: grid; grid-template-columns: 1.08fr 1fr; gap: 60px; align-items: center; padding-block: 94px 102px; }
.eyebrow { color: var(--accent); font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.hero h1 { margin-top: 23px; font-size: clamp(48px, 5.5vw, 76px); font-weight: 600; line-height: 1.08; letter-spacing: -.04em; text-wrap: balance; }
.hero h1 span { display: block; }
.hero .intro { margin-top: 26px; max-width: 440px; color: var(--muted); font-size: 17px; line-height: 1.75; text-wrap: pretty; }
.store-badges { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 27px; }
.store-badges a { display: inline-flex; align-items: center; justify-content: center; min-height: 72px; border-radius: 7px; }
.store-badges .apple-badge { height: 48px; width: auto; }
.store-badges .play-badge { height: 72px; width: auto; }
.browser-link { color: var(--muted); font-size: 13px; margin-top: 1px; }
.browser-link a { color: var(--text); display: inline-flex; gap: 7px; align-items: center; min-height: 44px; }
.browser-link a:hover { text-decoration: underline; }
.account-note { color: var(--muted); font-size: 12px; max-width: 360px; line-height: 1.6; margin-top: 24px; }

.product-preview { position: relative; height: 535px; margin-inline: 0; }
.product-preview::before { content: ""; position: absolute; inset: 44px 14px 14px 24px; background: var(--surface); border-radius: 50% 50% 20px 20px; }
.screen { position: absolute; overflow: hidden; border: 1px solid #39333a; border-radius: 19px; background: var(--bg); box-shadow: 0 24px 60px rgba(0,0,0,.3); }
.screen img { width: 100%; height: auto; }
.screen-inbox { width: 263px; top: 0; left: 6px; z-index: 2; }
.screen-message { width: 242px; right: 0; top: 83px; z-index: 3; }
.product-preview figcaption { position: absolute; bottom: 0; width: 100%; text-align: center; color: var(--muted); font-size: 11px; letter-spacing: .03em; }

.platforms { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 24px; border-block: 1px solid var(--line); }
.platforms p { font-size: 12px; color: var(--muted); }
.platform-list { display: flex; align-items: center; flex-wrap: wrap; gap: 28px; padding: 0; margin: 0; list-style: none; }
.platform-list li { display: inline-flex; gap: 9px; align-items: center; font-size: 12px; color: var(--text); }
.platform-list svg { width: 16px; height: 16px; color: var(--muted); }

.features { padding-block: 100px 96px; display: grid; grid-template-columns: .9fr 1.35fr; gap: 100px; }
.section-heading h2 { margin-top: 19px; font-size: clamp(30px, 3.5vw, 44px); line-height: 1.18; font-weight: 550; letter-spacing: -.04em; text-wrap: balance; }
.section-heading > p:last-child { margin-top: 20px; color: var(--muted); max-width: 320px; font-size: 15px; }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 45px; row-gap: 40px; }
.feature-icon { width: 22px; height: 22px; color: var(--accent); margin-bottom: 16px; }
.feature-list h3 { font-size: 16px; font-weight: 550; letter-spacing: -.02em; line-height: 1.4; }
.feature-list p { margin-top: 10px; font-size: 14px; color: var(--muted); line-height: 1.8; text-wrap: pretty; }

.access { padding-block: 70px 78px; border-top: 1px solid var(--line); }
.access-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; }
.access-heading h2 { font-size: clamp(28px, 3.5vw, 38px); font-weight: 550; line-height: 1.2; letter-spacing: -.04em; margin-top: 16px; text-wrap: balance; }
.access-heading .text-link { color: var(--muted); flex-shrink: 0; }
.access-heading .text-link:hover { color: var(--text); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 45px; padding: 0; margin: 43px 0 0; list-style: none; }
.step-number { color: var(--accent); font-size: 12px; font-variant-numeric: tabular-nums; letter-spacing: .06em; }
.steps h3 { font-size: 15px; font-weight: 550; margin-top: 15px; }
.steps p { margin-top: 9px; font-size: 13px; color: var(--muted); line-height: 1.8; max-width: 295px; text-wrap: pretty; }
.steps a { text-decoration: underline; }

.site-footer { border-top: 1px solid var(--line); padding-block: 42px 24px; }
.footer-main { display: flex; justify-content: space-between; align-items: start; gap: 45px; }
.footer-brand img { width: 115px; height: auto; }
.footer-brand p { color: var(--muted); font-size: 12px; margin-top: 15px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 26px; justify-content: flex-end; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; font-size: 12px; color: var(--muted); }
.footer-links a:hover { color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 35px; color: var(--muted); font-size: 12px; }
.footer-bottom a:hover { color: var(--text); }

@media (min-width: 1300px) { .hero { gap: 80px; } }
@media (max-width: 1100px) {
  .nav-links { display: none; }
  .hero { gap: 32px; }
  .screen-inbox { width: 235px; left: 0; }
  .screen-message { width: 218px; top: 96px; }
  .product-preview { height: 510px; }
  .features { gap: 55px; }
}
@media (max-width: 850px) {
  .hero { grid-template-columns: 1fr 1fr; gap: 24px; padding-block: 72px 80px; }
  .hero h1 { font-size: 52px; }
  .screen-inbox { width: 215px; }
  .screen-message { width: 193px; top: 148px; }
  .product-preview { height: 520px; }
  .store-badges { gap: 0; }
  .store-badges .apple-badge { height: 40px; }
  .store-badges .play-badge { height: 60px; }
  .store-badges a { min-height: 60px; }
  .features { grid-template-columns: 1fr; gap: 42px; padding-block: 72px; }
  .section-heading > p:last-child { max-width: 440px; }
  .feature-list { column-gap: 60px; }
  .platforms { align-items: flex-start; }
  .platform-list { gap: 16px; justify-content: flex-end; }
  .steps { gap: 28px; }
}
@media (max-width: 700px) {
  .container { width: calc(100% - 40px); }
  .navigation { min-height: 72px; gap: 10px; }
  .wordmark { font-size: 21px; gap: 6px; }
  .wordmark img { width: 30px; height: 30px; }
  .nav-actions { gap: 10px; }
  .web-button { padding-inline: 12px; font-size: 12px; }
  .web-button .arrow { display: none; }
  .languages a { min-width: 30px; font-size: 11px; }
  .hero { display: flex; flex-direction: column; align-items: stretch; padding-block: 58px 48px; gap: 48px; }
  .hero-copy { text-align: center; }
  .hero h1 { font-size: clamp(43px, 9.2vw, 64px); margin-top: 20px; }
  .hero .intro { font-size: 16px; line-height: 1.8; margin-inline: auto; margin-top: 22px; max-width: 390px; }
  .store-badges { justify-content: center; gap: 4px; margin-top: 21px; }
  .account-note { margin-inline: auto; margin-top: 17px; max-width: 290px; }
  .product-preview { width: min(420px, 100%); height: 490px; margin-inline: auto; }
  .screen-inbox { width: 230px; left: 6px; }
  .screen-message { width: 204px; top: 87px; right: 0; }
  .platforms { flex-direction: column; align-items: center; gap: 15px; padding-block: 22px; }
  .platform-list { justify-content: center; gap: 26px; }
  .features { gap: 34px; padding-block: 59px; }
  .feature-list { column-gap: 28px; row-gap: 32px; }
  .section-heading h2 { max-width: 310px; }
  .section-heading > p:last-child { font-size: 14px; }
  .feature-list h3 { font-size: 15px; }
  .feature-list p { font-size: 12px; }
  .access { padding-block: 52px 56px; }
  .access-heading { display: block; }
  .access-heading .text-link { margin-top: 15px; }
  .steps { grid-template-columns: 1fr; gap: 22px; margin-top: 25px; }
  .steps li { position: relative; padding-left: 39px; }
  .step-number { position: absolute; top: 0; left: 0; }
  .steps h3 { margin: 0; }
  .steps p { max-width: none; margin-top: 6px; }
  .footer-main { display: block; }
  .footer-links { justify-content: flex-start; gap: 2px 22px; margin-top: 23px; }
  .footer-bottom { padding-top: 25px; }
}
@media (max-width: 390px) {
  .navigation { flex-wrap: wrap; padding-block: 10px; }
  .wordmark { font-size: 20px; }
  .nav-actions { gap: 4px; }
  .web-button { padding-inline: 9px; font-size: 11px; }
  .languages a { min-width: 26px; }
  .product-preview { height: 448px; }
  .screen-inbox { width: 208px; left: 0; }
  .screen-message { width: 180px; top: 91px; }
  .feature-list { grid-template-columns: 1fr; gap: 27px; }
  .feature-list p { max-width: 290px; font-size: 13px; }
  .platform-list { gap: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media (max-width: 360px) {
  .navigation { gap: 4px; }
  .wordmark { font-size: 18px; gap: 5px; }
  .wordmark img { width: 26px; height: 26px; }
  .nav-actions { gap: 2px; }
  .languages a { min-width: 24px; }
}
