/* Camly website — one stylesheet, no build step.
   Brand: deep navy #0F2440, steel blue #7187A6, pale blue #C8D9EA, sage grey #A7B3A7. Plus Jakarta Sans. */

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/PlusJakartaSans-Variable.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #0F2440;
  --steel: #7187A6;
  --pale: #C8D9EA;
  --sage: #A7B3A7;
  --sage-dark: #8C9A8E;
  --bg: #EEF2F6;
  --panel: #FFFFFF;
  --soft: #F3F6F9;
  --line: #DCE3EB;
  --text: #0F2440;
  --body: #3D4E66;
  --muted: #4F6584;
  --on-navy: #D6E1EE;
  --paid: #3E7A5B;
  --radius: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; }
a { color: var(--navy); }
a:hover { color: var(--muted); }
h1, h2, h3, p, ul { margin: 0; }
:focus-visible { outline: 3px solid var(--steel); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { left: 16px; color: #fff; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.section { padding: 0 0 136px; }

/* Type */
.eyebrow { margin: 0 0 14px; font-size: 13px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.h-display { font-size: clamp(46px, 7.4vw, 96px); line-height: 0.98; font-weight: 800; letter-spacing: -0.05em; }
.h-section { font-size: clamp(32px, 4vw, 50px); line-height: 1.04; font-weight: 800; letter-spacing: -0.04em; }
.h-sub { font-size: clamp(26px, 3vw, 38px); line-height: 1.08; font-weight: 800; letter-spacing: -0.035em; }
.lead { margin-top: 20px; font-size: 18px; line-height: 1.6; color: var(--body); }
.note { margin-top: 24px; font-size: 14px; font-weight: 600; color: var(--muted); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 28px; border-radius: 14px; font-size: 17px; font-weight: 700; text-decoration: none; border: 0; cursor: pointer; font-family: inherit; transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: #1B3558; color: #fff; }
.btn-light { background: #fff; color: var(--navy); box-shadow: 0 0 0 1px #D3DCE6; }
.btn-light:hover { color: var(--navy); box-shadow: 0 0 0 1px #A9BAD0; }
.btn-soft { background: var(--bg); color: var(--navy); }
.btn-soft:hover { color: var(--navy); background: #E3E9F0; }
.btn-sm { min-height: 44px; padding: 0 20px; border-radius: 12px; font-size: 15px; }
.btn-block { display: flex; width: 100%; min-height: 52px; }
.btn-outline { background: #fff; color: var(--navy); box-shadow: 0 0 0 1.5px var(--navy); }
.btn-outline:hover { color: var(--navy); background: var(--soft); }

/* Header */
.header { position: sticky; top: 0; z-index: 20; background: rgba(238, 242, 246, 0.88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.header-in { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); }
.brand:hover { color: var(--navy); }
.brand-name { font-size: 26px; font-weight: 800; letter-spacing: -0.03em; }
.nav { display: flex; gap: 28px; align-items: center; font-size: 15px; font-weight: 600; }
.nav a { text-decoration: none; }
.header-cta { display: flex; gap: 10px; align-items: center; }
.signin { font-size: 15px; font-weight: 600; text-decoration: none; padding: 12px 6px; }

/* Hero */
.hero { padding: 104px 0 136px; }
.hero-copy { max-width: 880px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero-copy .lead { margin-top: 28px; font-size: clamp(18px, 1.8vw, 21px); max-width: 640px; }
.hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 38px; }
.hero-small { margin-top: 18px; font-size: 14px; color: var(--muted); }
.hero-device { max-width: 1080px; margin: 80px auto 0; }

/* Layouts */
.split, .split-dl, .split-dr { display: grid; gap: 72px; align-items: center; }
.split { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.split-dl { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.split-dr { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.section-head { max-width: 760px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* Ticks */
.ticks { margin-top: 28px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; font-size: 16px; line-height: 1.5; }
.ticks li { display: flex; gap: 12px; }
.ticks svg { flex-shrink: 0; margin-top: 1px; }

/* Cards */
.card { background: var(--panel); border-radius: 20px; padding: 26px; }
.card h3 { font-size: 18px; font-weight: 800; }
.card p { margin-top: 8px; font-size: 15px; line-height: 1.55; color: var(--body); }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 44px; }

.replaces { background: var(--panel); border-radius: 28px; padding: clamp(28px, 4vw, 48px); box-shadow: 0 1px 2px rgba(15, 36, 64, 0.05); }
.replaces h2 { font-size: clamp(24px, 3vw, 34px); line-height: 1.15; font-weight: 800; letter-spacing: -0.03em; max-width: 760px; }
.replaces-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-top: 32px; }
.replace { background: var(--soft); border-radius: 16px; padding: 20px; }
.replace s { display: block; font-size: 14px; color: var(--muted); }
.replace strong { display: block; font-size: 17px; margin-top: 6px; }

.feature-points { display: flex; flex-direction: column; gap: 18px; margin-top: 28px; }
.feature-points h3 { font-size: 16px; font-weight: 700; }
.feature-points p { font-size: 15px; line-height: 1.5; color: var(--body); margin-top: 4px; }

.msg-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; margin-top: 44px; }
.msg { background: var(--panel); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; gap: 14px; }
.msg h3 { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.msg p { font-size: 16px; line-height: 1.6; color: var(--body); }
.msg .msg-end { margin-top: auto; font-size: 15px; font-weight: 700; color: var(--muted); }
.msg.dark { background: var(--navy); color: #fff; }
.msg.dark p { color: var(--on-navy); }
.msg.dark .msg-end { color: var(--pale); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; padding: 0; list-style: none; }
.chips li { background: var(--panel); border-radius: 999px; padding: 10px 16px; font-size: 14px; font-weight: 600; }

/* Studio Pro */
.pro { background: var(--navy); color: #fff; border-radius: 36px; padding: clamp(28px, 6vw, 80px) clamp(20px, 6vw, 80px); }
.pro .eyebrow { color: var(--pale); }
.pro-title { font-size: clamp(32px, 4.4vw, 56px); line-height: 1.02; font-weight: 800; letter-spacing: -0.045em; }
.pro .lead { color: var(--on-navy); max-width: 640px; margin-left: auto; margin-right: auto; margin-top: 22px; }
.pro-device { max-width: 980px; margin: 64px auto 0; }
.pro-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin-top: 72px; }
.pro-card { background: rgba(255, 255, 255, 0.06); border-radius: 18px; padding: 22px; }
.pro-card h3 { font-size: 17px; font-weight: 800; }
.pro-card h3 span { font-size: 13px; font-weight: 600; color: var(--pale); }
.pro-card p { margin-top: 6px; font-size: 15px; line-height: 1.55; color: var(--on-navy); }
.soon { margin-top: 16px; border: 1.5px dashed rgba(200, 217, 234, 0.45); border-radius: 20px; padding: 24px; display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; }
.soon-text { flex: 1 1 380px; min-width: 0; }
.soon-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 18px; font-weight: 800; }
.badge { background: var(--pale); color: var(--navy); border-radius: 999px; padding: 4px 10px; font-size: 11px; font-weight: 800; letter-spacing: 0.08em; }
.soon p { margin-top: 10px; font-size: 15px; line-height: 1.55; color: var(--on-navy); }
.soon-list { display: flex; gap: 8px; flex-wrap: wrap; padding: 0; list-style: none; }
.soon-list li { display: inline-flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, 0.08); border-radius: 10px; padding: 10px 14px; font-size: 14px; font-weight: 700; }

/* Pricing */
.offer-banner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 16px; max-width: 920px; margin: 32px auto 0; background: var(--pale); border-radius: 16px; padding: 14px 20px; font-size: 15px; font-weight: 600; text-align: center; }
.offer-banner button { background: var(--navy); color: #fff; border: 0; border-radius: 10px; min-height: 40px; padding: 0 16px; font: inherit; font-weight: 700; cursor: pointer; }
.toggles { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 40px; }
.seg { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; background: #fff; border-radius: 16px; padding: 6px; }
.seg.alt { background: #E3E9F0; border-radius: 14px; padding: 5px; }
.seg button { min-height: 44px; padding: 0 18px; border: 0; border-radius: 11px; background: transparent; color: var(--navy); font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--navy); color: #fff; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; margin: 32px auto 0; max-width: 920px; }
.plan { background: #fff; border-radius: 28px; padding: 34px; display: flex; flex-direction: column; }
.plan.featured { box-shadow: 0 0 0 2px var(--steel), 0 30px 60px -30px rgba(15, 36, 64, 0.35); }
.plan-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.plan h3 { font-size: 22px; font-weight: 800; }
.plan-tag { background: var(--pale); border-radius: 999px; padding: 5px 12px; font-size: 12px; font-weight: 800; letter-spacing: 0.04em; }
.plan-desc { margin-top: 6px; font-size: 15px; color: var(--body); }
.price { display: flex; align-items: baseline; gap: 6px; margin-top: 24px; }
.price-n { font-size: 56px; font-weight: 800; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.price-p { font-size: 16px; font-weight: 600; color: var(--muted); }
.price-sub { margin-top: 4px; font-size: 14px; color: var(--muted); }
.plan ul { margin: 24px 0 28px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.plan .btn { margin-top: auto; }
.price-foot { text-align: center; margin-top: 20px; font-size: 14px; color: var(--muted); }
.addons { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin: 40px auto 0; max-width: 920px; }
.addon { background: #F8FAFC; border: 1px solid var(--line); border-radius: 18px; padding: 20px; }
.addon-name { font-size: 14px; font-weight: 600; color: var(--muted); }
.addon-price { font-size: 22px; font-weight: 800; margin-top: 4px; }
.addon-price span { font-size: 14px; font-weight: 600; color: var(--muted); }
.addon p { font-size: 14px; color: var(--body); margin-top: 6px; }

/* Privacy */
.privacy-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; font-size: 15px; line-height: 1.55; color: var(--body); }
.privacy-grid h3 { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }

/* FAQ */
.faq { max-width: 860px; }
.faq h2 { margin-bottom: 28px; }
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq details { background: #fff; border-radius: 18px; padding: 22px 26px; }
.faq summary { font-size: 17px; font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; font-weight: 500; color: var(--muted); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 12px; font-size: 16px; line-height: 1.6; color: var(--body); }

/* Final CTA */
.final { background: #fff; border-radius: 36px; padding: clamp(36px, 7vw, 88px) clamp(20px, 5vw, 64px); text-align: center; display: flex; flex-direction: column; align-items: center; }
.final h2 { margin-top: 24px; font-size: clamp(34px, 5vw, 60px); line-height: 1.02; font-weight: 800; letter-spacing: -0.045em; max-width: 720px; }
.final .lead { max-width: 560px; margin-top: 18px; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 44px 0 52px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; align-items: flex-start; }
.footer-tag { font-size: 12px; font-weight: 700; letter-spacing: 0.22em; color: var(--muted); margin-top: 8px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 20px 28px; font-size: 14px; font-weight: 600; }
.footer-nav a { text-decoration: none; }
.footer-mail { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px 28px; font-size: 14px; }
.footer-mail a { font-weight: 600; }
.footer-copy { margin-top: 20px; font-size: 13px; color: var(--muted); }

/* ---------- Devices ---------- */
/* iPad Pro 13-inch, landscape: 4:3 screen, even black bezel, aluminium rim */
.ipad { container-type: inline-size; width: 100%; }
.ipad-body { position: relative; background: #0E0E10; border-radius: 5.2cqw; padding: 2.8cqw; box-shadow: 0 0 0 0.28cqw #44444A, 0 0 0 0.5cqw #1C1C20, 0 1.4cqw 2.6cqw -1.2cqw rgba(15, 36, 64, 0.35), 0 6cqw 9cqw -4.5cqw rgba(15, 36, 64, 0.5); }
.ipad-body::before { content: ""; position: absolute; top: 1.2cqw; left: 50%; width: 0.62cqw; height: 0.62cqw; margin-left: -0.31cqw; border-radius: 50%; background: #1D2430; box-shadow: inset 0 0 0 0.12cqw #0A0C10, 0 0 0 0.08cqw #26262B; }
.ipad-screen { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; border-radius: 2.4cqw; background: var(--bg); }
.ipad.silver .ipad-body { box-shadow: 0 0 0 0.28cqw #D9DBDF, 0 0 0 0.5cqw #9DA1A8, 0 1.4cqw 2.6cqw -1.2cqw rgba(0, 0, 0, 0.35), 0 6cqw 9cqw -4.5cqw rgba(0, 0, 0, 0.5); }

/* iPhone 16 Pro Max: 1320 × 2868 screen, Dynamic Island, titanium rim, side buttons */
.iphone { container-type: inline-size; width: 100%; max-width: 310px; margin: 0 auto; }
.iphone-body { position: relative; background: #09090A; border-radius: 16.2cqw; padding: 2.2cqw; box-shadow: 0 0 0 0.75cqw #4A4A4E, 0 0 0 1.15cqw #252528, 0 2cqw 4cqw -2cqw rgba(15, 36, 64, 0.35), 0 9cqw 14cqw -6cqw rgba(15, 36, 64, 0.5); }
.iphone-screen { display: block; width: 100%; height: auto; aspect-ratio: 1320 / 2868; border-radius: 14cqw; background: var(--bg); }
.iphone-island { position: absolute; top: 4.6cqw; left: 50%; width: 27.4cqw; height: 8cqw; margin-left: -13.7cqw; border-radius: 8cqw; background: #000; }
.iphone-btn { position: absolute; width: 1.2cqw; border-radius: 1cqw; background: #3C3C40; }
.iphone-btn.l { left: -2.1cqw; }
.iphone-btn.r { right: -2.1cqw; }
.b-action { top: 17%; height: 6%; }
.b-volup { top: 26%; height: 10%; }
.b-voldown { top: 38%; height: 10%; }
.b-power { top: 28%; height: 16%; }
.b-camera { top: 56%; height: 8%; }

/* ---------- 10% off sign-up (off until signups are switched on in site.js) ---------- */
.offer[hidden], .offer-banner[hidden] { display: none; }
.offer { position: fixed; inset: 0; z-index: 50; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(15, 36, 64, 0.45); }
.offer-box { position: relative; width: 100%; max-width: 460px; background: #fff; border-radius: 28px; padding: 36px 32px 32px; box-shadow: 0 40px 80px -20px rgba(15, 36, 64, 0.5); }
.offer-box h2 { font-size: 30px; font-weight: 800; letter-spacing: -0.03em; }
.offer-box p { margin-top: 10px; font-size: 15px; line-height: 1.55; color: var(--body); }
.offer-close { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--soft); color: var(--navy); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.offer form { margin-top: 20px; display: flex; flex-direction: column; gap: 12px; }
.offer label { font-size: 14px; font-weight: 600; display: flex; flex-direction: column; gap: 6px; }
.offer input[type="text"], .offer input[type="email"] { min-height: 48px; border: 1px solid #C9D3DE; border-radius: 12px; padding: 0 14px; font: inherit; font-size: 16px; color: var(--navy); }
.offer-fine { font-size: 13px !important; color: var(--muted) !important; }
.offer [hidden] { display: none !important; }
.offer-error { margin: 0; font-size: 14px !important; font-weight: 600; color: #A23E35 !important; }
.offer-success { text-align: center; padding-top: 8px; }
.offer-tick { width: 60px; height: 60px; border-radius: 50%; background: #E3F0E7; display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; }
.offer-success h2 { outline: none; }
.offer-success .offer-sent-to { margin-top: 4px; font-size: 17px; font-weight: 700; color: var(--navy) !important; overflow-wrap: anywhere; }
.offer-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }
.offer-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 900px) {
  .split, .split-dl, .split-dr { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .nav { display: none; }
  .wrap { padding: 0 16px; }
  .flipfirst { order: -1; }
  .section { padding-bottom: 96px; }
  .hero { padding: 64px 0 96px; }
  .hero-device { margin-top: 56px; }
  .pro-grid { margin-top: 48px; }
}
@media (max-width: 520px) {
  .privacy-grid { grid-template-columns: minmax(0, 1fr); }
  .signin { display: none; }
  .btn { width: 100%; }
  .header .btn { width: auto; }
  .plan { padding: 28px 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

/* ---- Walkthrough video ---- */
.tour { margin: 48px auto 0; max-width: 1040px; background: var(--navy); border-radius: 28px; padding: 12px; box-shadow: 0 30px 60px -30px rgba(15,36,64,.45); }
.tour video { display: block; width: 100%; height: auto; border-radius: 18px; background: var(--navy); }
.tour-tall { display: none !important; }
.tour-ctas { justify-content: center; margin-top: 36px; }
@media (max-width: 600px) {
  .tour { max-width: 400px; border-radius: 24px; padding: 8px; margin-top: 36px; }
  .tour-wide { display: none !important; }
  .tour-tall { display: block !important; aspect-ratio: 9 / 16; }
}

/* ---- Legal pages (legal, privacy, terms, dpa, subprocessors) ---- */
.legal-page { max-width: 780px; margin: 0 auto; padding: 64px 32px 96px; }
.legal-page h1 { font-size: clamp(34px, 4.4vw, 48px); line-height: 1.06; font-weight: 800; letter-spacing: -0.035em; color: var(--navy); }
.legal-updated { margin-top: 12px; font-size: 14px; color: var(--muted); }
.legal-intro { margin-top: 20px; font-size: 18px; line-height: 1.65; color: var(--body); }
.legal-page h2 { margin: 44px 0 12px; font-size: 22px; line-height: 1.25; font-weight: 800; letter-spacing: -0.015em; color: var(--navy); }
.legal-page h3 { margin: 24px 0 8px; font-size: 17px; font-weight: 700; color: var(--navy); }
.legal-page p, .legal-page li { font-size: 16px; line-height: 1.7; color: var(--body); }
.legal-page p { margin: 0 0 14px; }
.legal-page ul { margin: 0 0 16px; padding-left: 22px; }
.legal-page li { margin: 0 0 8px; }
.legal-page a { font-weight: 600; }
.legal-links { list-style: none; padding-left: 0 !important; }
.legal-links li { padding: 14px 18px; margin-bottom: 10px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.legal-table { width: 100%; border-collapse: collapse; margin: 8px 0 20px; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.legal-table th, .legal-table td { padding: 12px 16px; text-align: left; vertical-align: top; font-size: 15px; line-height: 1.6; color: var(--body); border-bottom: 1px solid var(--line); }
.legal-table tr:last-child th, .legal-table tr:last-child td { border-bottom: 0; }
.legal-table th { color: var(--navy); font-weight: 700; width: 30%; }
.legal-grid th { width: auto; background: var(--soft); }
.legal-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.legal-grid { min-width: 560px; }
@media (max-width: 900px) { .legal-page { padding: 40px 16px 72px; } }
@media (max-width: 520px) {
  .legal-table:not(.legal-grid) th, .legal-table:not(.legal-grid) td { display: block; width: auto; }
  .legal-table:not(.legal-grid) th { padding-bottom: 0; border-bottom: 0; }
}
