/* Phone2Mac website. Brand: Electric Blue #007AFF, Emerald Green #00C27A, Charcoal #111111, Light Gray #F4F5F7, Inter. */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(fonts/inter-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(fonts/inter-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --blue: #007aff;
  --blue-dark: #0063d1;
  --green: #00c27a;
  --pink: #ff4d6d;
  --ink: #111111;
  --ink-soft: #3b3f46;
  --muted: #6b7079;
  --line: #e5e7eb;
  --gray: #f4f5f7;
  --blue-tint: #e6f0fd;
  --white: #ffffff;
  --radius: 24px;
  --shadow-soft: 0 1px 2px rgb(17 17 17 / 0.04), 0 8px 24px rgb(17 17 17 / 0.06);
  --shadow-shot: 0 2px 4px rgb(17 17 17 / 0.06), 0 22px 48px -12px rgb(17 17 17 / 0.28);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font: 400 17px/1.6 "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3 { margin: 0; color: var(--ink); letter-spacing: -0.025em; }
h2 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.1; font-weight: 800; }
h3 { font-size: 20px; line-height: 1.3; font-weight: 700; letter-spacing: -0.015em; }
p { margin: 0; }
strong { font-weight: 650; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--blue) 55%, transparent); outline-offset: 3px; border-radius: 8px; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 112px 0; }
.section-tight { padding: 56px 0 112px; }
.section-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.section-sub { margin-top: 16px; color: var(--muted); font-size: 19px; }
.eyebrow { margin-bottom: 12px; color: var(--blue); font-size: 14px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 50px; padding: 0 24px; border-radius: 14px; border: 1.5px solid transparent;
  font: 650 16px/1 "Inter", sans-serif; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s, transform 0.15s;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-dark); }
.btn-secondary { background: var(--white); color: var(--ink); border-color: var(--line); }
.btn-secondary:hover { border-color: #c9ccd2; }
.btn-white { background: var(--white); color: var(--blue); }
.btn-white:hover { background: #eef5ff; }
.btn-outline-white { color: var(--white); border-color: rgb(255 255 255 / 0.55); }
.btn-outline-white:hover { border-color: var(--white); background: rgb(255 255 255 / 0.08); }
.btn-soon { opacity: 0.5; cursor: default; pointer-events: none; }
.btn-small { height: 40px; padding: 0 18px; font-size: 15px; border-radius: 11px; }
.btn-large { height: 58px; padding: 0 30px; font-size: 18px; border-radius: 16px; }

/* Navigation */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgb(255 255 255 / 0.86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgb(17 17 17 / 0.06);
}
.nav-inner { display: flex; align-items: center; gap: 32px; height: 72px; }
.nav-logo img { width: 176px; height: auto; }
.nav-links { display: flex; gap: 28px; margin-left: auto; }
.nav-links a { color: var(--ink-soft); text-decoration: none; font-size: 15px; font-weight: 550; }
.nav-links a:hover { color: var(--blue); }

/* Hero: the blue panel */
.hero {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); align-items: center; gap: 32px;
  margin-top: 24px; padding: 72px 56px 72px 64px; border-radius: 32px;
  color: var(--white);
  background:
    radial-gradient(70% 90% at 100% 100%, rgb(0 194 122 / 0.45), transparent 60%),
    radial-gradient(60% 70% at 0% 0%, rgb(255 255 255 / 0.16), transparent 60%),
    linear-gradient(160deg, #1a8cff 0%, #007aff 45%, #0062e0 100%);
}
.hero h1 {
  margin-top: 22px; color: var(--white);
  font-size: clamp(40px, 5vw, 64px); line-height: 1.04; font-weight: 800; letter-spacing: -0.035em;
}
.hero-sub { margin-top: 16px; font-size: clamp(20px, 2vw, 24px); font-weight: 650; color: rgb(255 255 255 / 0.95); }
.hero-text { margin-top: 14px; max-width: 470px; color: rgb(255 255 255 / 0.85); font-size: 18px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-meta { margin-top: 18px; color: rgb(255 255 255 / 0.72); font-size: 14px; }
.hero-badge { display: inline-flex; gap: 6px; padding: 5px; border-radius: 999px; background: rgb(255 255 255 / 0.14); }
.badge-item { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px 6px 9px; border-radius: 999px; background: rgb(255 255 255 / 0.16); font-size: 14px; font-weight: 650; }
.badge-item svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

/* Hero illustration: phone → laptop with files flying along a dotted arc */
.hero-art { position: relative; width: 100%; aspect-ratio: 560 / 420; }
.laptop { position: absolute; right: 0; top: 14%; width: 80%; }
.laptop-screen {
  padding: 2.4% 2.4% 2.8%; border-radius: 16px 16px 6px 6px; background: #0d0e10;
  box-shadow: 0 30px 60px -20px rgb(0 20 60 / 0.55), inset 0 0 0 1px rgb(255 255 255 / 0.08);
}
.laptop-screen img { width: 100%; border-radius: 6px; }
.laptop-base {
  position: relative; height: 14px; margin: 0 -7%;
  border-radius: 2px 2px 16px 16px;
  background: linear-gradient(#e8eaee, #b9bec6);
  box-shadow: 0 16px 28px -10px rgb(0 20 60 / 0.5);
}
.laptop-base::after { content: ""; position: absolute; left: 50%; top: 0; width: 16%; height: 5px; transform: translateX(-50%); border-radius: 0 0 8px 8px; background: #a5aab3; }
.phone {
  position: absolute; left: 0; bottom: 2%; width: 24%; aspect-ratio: 9 / 18.5; padding: 2.4%;
  border-radius: 30px; background: #0d0e10;
  box-shadow: 0 30px 50px -16px rgb(0 20 60 / 0.6), inset 0 0 0 1px rgb(255 255 255 / 0.1);
}
.phone-screen { position: relative; height: 100%; padding-top: 26%; border-radius: 22px; overflow: hidden; background: var(--white); }
.phone-notch { position: absolute; left: 50%; top: 5%; width: 34%; height: 6%; transform: translateX(-50%); border-radius: 99px; background: #0d0e10; }
.phone-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.phone-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.arc { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.arc path { fill: none; stroke: rgb(255 255 255 / 0.85); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 0.5 11; vector-effect: non-scaling-stroke; }
.chip {
  position: absolute; width: 11%; aspect-ratio: 1; display: grid; place-items: center;
  border-radius: 26%; transform: translate(-50%, -50%);
  box-shadow: 0 12px 24px -8px rgb(0 20 60 / 0.45), inset 0 0 0 1px rgb(255 255 255 / 0.25);
}
.chip svg { width: 56%; height: 56%; fill: none; stroke: var(--white); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.chip-photo { left: 23.3%; top: 31.5%; background: linear-gradient(145deg, #4fb0ff, #0a6cf0); }
.chip-video { left: 30.3%; top: 18.7%; background: linear-gradient(145deg, #ff7a8f, #f23557); }
.chip-video svg { fill: var(--white); }
.chip-file { left: 40.9%; top: 12.3%; background: linear-gradient(145deg, #2fe0a0, #00a866); }
.chip-music { left: 52.5%; top: 12.5%; background: linear-gradient(145deg, #3d9bff, #0057d9); }

/* Key message */
.tagline { max-width: 820px; margin: 0 auto 56px; text-align: center; font-size: clamp(32px, 4.2vw, 54px); line-height: 1.08; }
.tagline span { color: var(--blue); }
.tagline::after { content: ""; display: block; width: 72px; height: 6px; margin: 28px auto 0; border-radius: 9px; background: var(--blue); }
.platforms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.platform { padding: 40px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
.platform > p { margin-top: 22px; color: var(--ink-soft); }
.platform-head { display: flex; align-items: center; gap: 18px; }
.platform-brands { margin-top: 2px; color: var(--muted); font-size: 15px; }
.platform-icon { flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; }
.platform-icon svg { width: 28px; height: 28px; fill: none; stroke: var(--white); stroke-width: 2; stroke-linecap: round; }
.platform-icon.green { background: var(--green); }
.platform-icon.blue { background: var(--blue); }

.checks { margin: 22px 0 0; padding: 0; list-style: none; }
.checks li { position: relative; margin: 10px 0; padding-left: 32px; color: var(--ink-soft); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 21px; height: 21px; border-radius: 50%;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6.5 12.5 3.5 3.5 7.5-8'/%3E%3C/svg%3E") center / 15px no-repeat;
}

/* Built for everything you transfer */
.built { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 24px; }
.built-card { padding: 48px 44px; border-radius: var(--radius); background: var(--gray); }
.built-mark { width: 76px; height: auto; margin-bottom: 26px; }
.built-card h2 { font-size: clamp(28px, 3vw, 38px); }
.types { margin: 30px 0 0; padding: 0; list-style: none; }
.types li { display: flex; align-items: center; gap: 14px; padding: 9px 0; font-weight: 550; font-size: 17px; }
.type-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; }
.type-icon svg { width: 20px; height: 20px; fill: none; stroke: var(--white); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.t-photo { background: #2b8cff; } .t-video { background: var(--pink); } .t-file { background: var(--green); }
.t-music { background: #ff5b8a; } .t-chat { background: #22c55e; } .t-folder { background: var(--blue); }
.t-more { background: #9aa1ab; } .t-more svg { fill: var(--white); stroke: none; }
.built-shot { display: grid; place-items: center; padding: 44px; border-radius: var(--radius); background: linear-gradient(160deg, #e9f2ff, #dceafc); }
.built-shot img { border-radius: 12px; box-shadow: var(--shadow-shot); }

/* Walkthrough */
.steps { margin: 0; padding: 0; list-style: none; display: grid; gap: 96px; }
.step { display: grid; grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr); align-items: center; gap: 64px; }
.step:nth-child(even) .step-text { order: 2; }
.step-number { display: inline-grid; place-items: center; width: 40px; height: 40px; margin-bottom: 20px; border-radius: 12px; background: var(--blue); color: var(--white); font-weight: 800; }
.step h3 { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.15; letter-spacing: -0.025em; font-weight: 800; }
.step-text p { margin-top: 16px; color: var(--ink-soft); font-size: 18px; }
.step-shot { margin: 0; padding: 32px; border-radius: var(--radius); background: var(--gray); }
.step-shot img { border-radius: 12px; box-shadow: var(--shadow-shot); }

.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 112px; }
.feature { padding: 30px; border-radius: 20px; border: 1px solid var(--line); }
.feature svg { width: 30px; height: 30px; fill: none; stroke: var(--blue); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { margin-top: 18px; font-size: 18px; }
.feature p { margin-top: 8px; color: var(--muted); font-size: 16px; }

/* Pricing */
.pricing-section { background: var(--gray); }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 36px 32px 32px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.plan-featured { border: 2px solid var(--blue); box-shadow: 0 24px 50px -20px rgb(0 122 255 / 0.35); }
.plan-flag { position: absolute; top: -13px; left: 32px; padding: 4px 12px; border-radius: 99px; background: var(--blue); color: var(--white); font-size: 13px; font-weight: 700; }
.price { display: flex; align-items: baseline; gap: 8px; margin-top: 14px; }
.amount { font-size: 52px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.per { color: var(--muted); font-weight: 550; }
.plan-note { margin-top: 10px; color: var(--ink-soft); font-weight: 550; }
.plan .checks { flex: 1; margin-bottom: 28px; }
.plan .btn { width: 100%; }
.fine-print { margin-top: 28px; text-align: center; color: var(--muted); font-size: 15px; }

/* Download */
.download {
  max-width: 880px; margin: 0 auto; padding: 64px 48px; text-align: center; border-radius: 32px;
  background: radial-gradient(80% 120% at 100% 100%, rgb(0 194 122 / 0.14), transparent 60%), linear-gradient(160deg, #eef5ff, #e3eefc);
}
.download-icon { width: 112px; margin: 0 auto 20px; filter: drop-shadow(0 12px 18px rgb(17 17 17 / 0.18)); }
.download-meta { margin: 12px 0 30px; color: var(--muted); font-size: 15px; }
.install { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px 28px; margin: 36px 0 0; padding: 0; list-style: none; color: var(--ink-soft); font-size: 15px; }
.install li { display: flex; align-items: center; gap: 10px; }
.install span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--white); color: var(--blue); font-weight: 800; font-size: 13px; box-shadow: var(--shadow-soft); }
.help { max-width: 560px; margin: 28px auto 0; text-align: left; font-size: 15px; color: var(--ink-soft); }
.help summary { cursor: pointer; text-align: center; color: var(--blue); font-weight: 600; list-style: none; }
.help summary::-webkit-details-marker { display: none; }
.help p { margin-top: 10px; padding: 16px 18px; border-radius: 14px; background: rgb(255 255 255 / 0.7); }

/* FAQ */
.faq { max-width: 860px; }
.faq h2 { margin-bottom: 28px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  position: relative; padding: 22px 44px 22px 0; cursor: pointer; list-style: none;
  font-size: 19px; font-weight: 650; letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -7px;
  background: linear-gradient(var(--ink), var(--ink)) center / 14px 2px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 2px 14px no-repeat;
  transition: transform 0.2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--ink-soft); max-width: 760px; }

/* Footer */
.footer { padding: 56px 0; background: var(--ink); color: rgb(255 255 255 / 0.7); }
.footer-inner { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 24px 40px; }
.footer-inner img { width: 160px; }
.footer nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 24px; }
.footer nav a { color: var(--white); text-decoration: none; font-weight: 550; font-size: 15px; }
.footer nav a:hover { color: #7cb8ff; }
.footer-legal { grid-column: 1 / -1; font-size: 13px; color: rgb(255 255 255 / 0.5); }

/* Motion is added by main.js; without it (or with reduced motion) everything is simply shown. */
.js-motion [data-reveal], .js-motion [data-hero] { opacity: 0; }

/* Tablet */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; padding: 56px 40px 48px; }
  .hero-art { max-width: 640px; margin: 8px auto 0; }
  .built, .step { grid-template-columns: 1fr; }
  .step { gap: 28px; }
  .step:nth-child(even) .step-text { order: 0; }
  .features, .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plan-featured { order: -1; grid-column: 1 / -1; }
}

/* Phone */
@media (max-width: 680px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .section { padding: 72px 0; }
  .section-tight { padding: 32px 0 72px; }
  .section-head { margin-bottom: 36px; }
  .nav-inner { gap: 16px; height: 64px; }
  .nav-links { display: none; }
  .nav .btn { margin-left: auto; }
  .nav-logo img { width: 150px; }
  .hero { margin-top: 12px; padding: 40px 22px 28px; border-radius: 24px; }
  .hero-text { font-size: 17px; }
  .hero-cta .btn { width: 100%; }
  .badge-item { padding: 5px 10px 5px 8px; font-size: 13px; }
  .platforms, .features, .plans { grid-template-columns: 1fr; }
  .platform, .built-card { padding: 28px 24px; }
  .built-shot, .step-shot { padding: 16px; border-radius: 18px; }
  .steps { gap: 64px; }
  .features { margin-top: 72px; }
  .plan-featured { grid-column: auto; }
  .download { padding: 44px 20px; border-radius: 24px; }
  .btn-large { width: 100%; }
  .install { flex-direction: column; align-items: flex-start; max-width: 320px; margin-inline: auto; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer nav { justify-content: flex-start; }
}
