/* Hido website: one stylesheet for every page, light and dark like the app. */
:root {
  --ink: #f3f5f9;
  --ink-2: #eaeef4;
  --card: #ffffff;
  --line: #e3e7ee;
  --text: #0b1220;
  --muted: #5b6475;
  --faint: #8a93a3;
  --accent: #14a564;
  --accent-ink: #0e8a52;
  --accent-soft: rgba(20, 165, 100, .12);
  --warn: #d97706;
  --danger: #dc2f45;
  --shadow: 0 1px 2px rgba(11, 18, 32, .04), 0 12px 32px -12px rgba(11, 18, 32, .14);
  --radius: 22px;
  --max: 1120px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #0b0f14;
    --ink-2: #11161d;
    --card: #151b23;
    --line: #242c37;
    --text: #e8ecf2;
    --muted: #9aa4b2;
    --faint: #6f7987;
    --accent-soft: rgba(20, 165, 100, .18);
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 16px 40px -16px rgba(0, 0, 0, .6);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { letter-spacing: -.02em; line-height: 1.2; margin: 0; }
p { margin: 0; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }

/* Header */
.nav {
  position: sticky; top: 0; z-index: 20;
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  background: color-mix(in srgb, var(--ink) 82%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; font-size: 19px; }
.brand:hover { text-decoration: none; }
.brand img { width: 32px; height: 32px; border-radius: 9px; }
.nav nav { display: flex; gap: 22px; margin-left: auto; }
.nav nav a { color: var(--muted); font-weight: 500; font-size: 15px; }
.nav nav a:hover { color: var(--text); text-decoration: none; }
@media (max-width: 760px) { .nav nav { display: none; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 20px; border-radius: 14px;
  font-weight: 600; font-size: 15px; border: 1px solid transparent; cursor: pointer;
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn.primary { background: var(--accent); color: #fff; }
.btn.primary:hover { background: var(--accent-ink); }
.btn.ghost { background: var(--card); color: var(--text); border-color: var(--line); }
.btn.small { height: 38px; padding: 0 14px; font-size: 14px; border-radius: 12px; }
.store {
  display: inline-flex; align-items: center; gap: 12px; height: 56px; padding: 0 18px 0 14px;
  border-radius: 16px; background: var(--text); color: var(--ink); min-width: 190px;
}
.store:hover { text-decoration: none; }
.store svg { width: 26px; height: 26px; flex: none; }
.store span { display: flex; flex-direction: column; line-height: 1.15; }
.store small { font-size: 11px; opacity: .75; }
.store b { font-size: 17px; font-weight: 600; }
.store[aria-disabled="true"] { cursor: default; }
.store[aria-disabled="true"]:hover { transform: none; }

/* Hero */
.hero { padding: 72px 0 40px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px;
  border-radius: 99px; background: var(--accent-soft); color: var(--accent-ink);
  font-size: 13px; font-weight: 600;
}
@media (prefers-color-scheme: dark) { .pill { color: #43d18f; } }
.pill i { width: 8px; height: 8px; border-radius: 99px; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.hero h1 { font-size: clamp(36px, 5.4vw, 60px); margin: 18px 0 18px; font-weight: 800; letter-spacing: -.035em; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lead { font-size: 19px; color: var(--muted); max-width: 540px; }
.hero .stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero .note { margin-top: 14px; font-size: 13px; color: var(--faint); }
@media (max-width: 900px) {
  .hero { padding-top: 40px; }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero .phone-stage { order: 2; }
}

/* Phone mock: the app's home screen drawn in HTML */
.phone-stage { position: relative; display: flex; justify-content: center; }
.phone-stage::before {
  content: ""; position: absolute; inset: 8% 0 0;
  background: radial-gradient(closest-side, var(--accent-soft), transparent 70%);
  filter: blur(10px);
}
.phone {
  position: relative; width: 300px; aspect-ratio: 300 / 620;
  border-radius: 48px; padding: 12px; background: #0b1220;
  box-shadow: 0 30px 80px -30px rgba(11, 18, 32, .55), inset 0 0 0 2px #2a3342;
}
.screen {
  height: 100%; border-radius: 37px; background: #f3f5f9; color: #0b1220;
  overflow: hidden; display: flex; flex-direction: column; padding: 14px 14px 0; position: relative;
  font-size: 12px;
}
.island { width: 92px; height: 26px; border-radius: 99px; background: #0b1220; margin: 0 auto 12px; flex: none; }
.app-head { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.app-head img { width: 26px; height: 26px; border-radius: 8px; }
.app-head b { font-size: 16px; }
.app-head span { margin-left: auto; width: 28px; height: 28px; border-radius: 9px; background: #14a564; color: #fff; display: grid; place-items: center; font-size: 18px; font-weight: 500; }
.m-card { background: #fff; border: 1px solid #e3e7ee; border-radius: 16px; padding: 11px 12px; margin-bottom: 8px; }
.m-row { display: flex; align-items: center; gap: 10px; }
.m-power { width: 30px; height: 30px; border-radius: 99px; display: grid; place-items: center; color: #14a564; background: rgba(20,165,100,.12); }
.m-power svg { width: 16px; height: 16px; }
.m-title { font-weight: 700; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-row > div { min-width: 0; }
.m-sub { color: #5b6475; font-size: 10.5px; }
.m-toggle { margin-left: auto; width: 40px; height: 24px; border-radius: 99px; background: #14a564; position: relative; flex: none; }
.m-toggle::after { content: ""; position: absolute; right: 3px; top: 3px; width: 18px; height: 18px; border-radius: 99px; background: #fff; }
.m-bar { height: 6px; border-radius: 99px; background: #e8ecf2; margin: 8px 0 6px; overflow: hidden; }
.m-bar i { display: block; height: 100%; width: 38%; background: #14a564; border-radius: 99px; }
.m-flag { width: 26px; height: 26px; border-radius: 99px; flex: none; }
.m-ping { margin-left: auto; white-space: nowrap; flex: none; font-size: 10.5px; font-weight: 600; color: #0e8a52; background: rgba(20,165,100,.12); padding: 2px 8px; border-radius: 99px; }
.m-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.m-grid .m-card { margin: 0; }
.m-big { font-size: 15px; font-weight: 700; margin-top: 2px; }
.m-link { text-align: center; color: #5b6475; font-size: 10.5px; margin: 6px 0 0; }
.m-checks { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.m-checks span { font-size: 10px; font-weight: 600; color: #0e8a52; background: rgba(20,165,100,.12); padding: 2px 7px; border-radius: 99px; }
.m-tabs { margin-top: auto; display: grid; grid-template-columns: repeat(4, 1fr); padding: 8px 4px 14px; border-top: 1px solid #e3e7ee; background: #f3f5f9; margin-left: -14px; margin-right: -14px; }
.m-tabs span { text-align: center; font-size: 9.5px; color: #8a93a3; }
.m-tabs span i { display: block; width: 18px; height: 14px; margin: 0 auto 3px; border-radius: 4px; background: #c5ccd6; }
.m-tabs span.on { color: #14a564; font-weight: 600; }
.m-tabs span.on i { background: #14a564; }
.float {
  position: absolute; background: var(--card); color: var(--text); border: 1px solid var(--line);
  border-radius: 16px; padding: 10px 14px; box-shadow: var(--shadow); font-size: 13px;
  display: flex; align-items: center; gap: 10px; white-space: nowrap; z-index: 2;
}
.float b { display: block; font-size: 14px; }
.float small { color: var(--muted); }
.float .dot { width: 10px; height: 10px; border-radius: 99px; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.float.one { right: calc(50% + 122px); top: 24%; }
.float.two { left: calc(50% + 122px); bottom: 14%; }
.float img { width: 22px; height: 22px; border-radius: 99px; }
/* The labels sit beside the phone; where the column is only as wide as
   the phone they would cover the screen, so they go. */
@media (max-width: 1100px) { .float { display: none; } }

/* Trust strip */
.strip { padding: 12px 0 8px; }
.strip ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; color: var(--muted); font-size: 14px; font-weight: 500; }
.strip li { display: flex; align-items: center; gap: 8px; }
.strip svg { width: 18px; height: 18px; color: var(--accent); }

/* Sections */
section.block { padding: 84px 0; }
section.alt { background: var(--ink-2); }
.head { max-width: 680px; margin: 0 auto 44px; text-align: center; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.head h2 { font-size: clamp(28px, 3.6vw, 40px); margin: 10px 0 12px; font-weight: 800; }
.head p { color: var(--muted); font-size: 17px; }

.grid { display: grid; gap: 16px; }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.grid.two { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid.three { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid.three, .grid.two { grid-template-columns: 1fr; } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.feature .icon {
  width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent); margin-bottom: 16px;
}
.feature .icon svg { width: 22px; height: 22px; }
.feature h3 { font-size: 18px; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: 15px; }

.mode { display: flex; flex-direction: column; gap: 14px; }
.mode .tag { align-self: flex-start; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 99px; background: var(--accent-soft); color: var(--accent-ink); }
@media (prefers-color-scheme: dark) { .mode .tag { color: #43d18f; } }
.mode h3 { font-size: 22px; }
.mode ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.mode li { position: relative; padding-left: 28px; color: var(--muted); }
.mode li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 99px; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314a564' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.protocols { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.protocols span { font-size: 12.5px; font-weight: 600; padding: 5px 10px; border-radius: 10px; border: 1px solid var(--line); color: var(--muted); }

.steps { counter-reset: step; }
.step { position: relative; padding-top: 58px; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: 24px; left: 24px; width: 26px; height: 26px; border-radius: 99px;
  background: var(--accent); color: #fff; font-weight: 700; font-size: 14px; display: grid; place-items: center;
}
.step h3 { font-size: 18px; margin: 4px 0 6px; }
.step p { color: var(--muted); font-size: 15px; }
.step code { font: 600 14px/1 ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--ink-2); border: 1px solid var(--line); padding: 3px 7px; border-radius: 8px; color: var(--text); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.split h2 { font-size: clamp(28px, 3.4vw, 38px); font-weight: 800; margin: 10px 0 14px; }
.split .lead { color: var(--muted); font-size: 17px; margin-bottom: 22px; }
.checks { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; }
.checks li svg { flex: none; width: 22px; height: 22px; color: var(--accent); margin-top: 1px; }
.checks b { display: block; }
.checks span { color: var(--muted); font-size: 15px; }
.code-card { background: #0b1220; color: #d6dde8; border-radius: var(--radius); padding: 22px; font: 13.5px/1.7 ui-monospace, SFMono-Regular, Menlo, monospace; overflow-x: auto; border: 1px solid #1f2836; }
.code-card .k { color: #7ee2b0; }
.code-card .s { color: #f7c97e; }
.code-card .c { color: #6b7686; }

.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 0 20px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 600; display: flex; align-items: center; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; margin-left: auto; font-size: 22px; font-weight: 400; color: var(--faint); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 0 18px; }

.cta { text-align: center; padding: 56px 24px; border-radius: 30px; background: linear-gradient(135deg, #0f9a5c, #14a564 55%, #2fc37f); color: #fff; }
.cta h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; }
.cta p { opacity: .9; margin: 10px 0 24px; font-size: 17px; }
.cta .btn { background: #fff; color: #0b1220; }

/* Footer */
footer.site { border-top: 1px solid var(--line); padding: 40px 0 48px; margin-top: 84px; font-size: 14px; color: var(--muted); }
footer.site .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
footer.site h4 { margin: 0 0 10px; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--text); }
footer.site ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
footer.site a { color: var(--muted); }
footer.site a:hover { color: var(--text); }
footer.site .legal { grid-column: 1 / -1; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--faint); display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }
@media (max-width: 700px) { footer.site .wrap { grid-template-columns: 1fr 1fr; } footer.site .about { grid-column: 1 / -1; } }

/* Long-form pages: privacy, terms, deletion, support */
.doc { max-width: 760px; margin: 0 auto; padding: 56px 24px 0; }
.doc h1 { font-size: clamp(30px, 4vw, 42px); font-weight: 800; margin-bottom: 10px; }
.doc .updated { color: var(--faint); font-size: 14px; margin-bottom: 32px; }
.doc h2 { font-size: 22px; margin: 36px 0 12px; }
.doc h3 { font-size: 17px; margin: 22px 0 8px; }
.doc p, .doc li { color: var(--muted); }
.doc p { margin: 0 0 14px; }
.doc ul, .doc ol { padding-left: 22px; margin: 0 0 14px; display: grid; gap: 6px; }
.doc strong { color: var(--text); }
.doc table { width: 100%; border-collapse: collapse; margin: 6px 0 18px; font-size: 15px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.doc th, .doc td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc th { color: var(--text); font-size: 13px; text-transform: uppercase; letter-spacing: .04em; background: var(--ink-2); }
.doc td { color: var(--muted); }
.doc tr:last-child td { border-bottom: 0; }
.doc code { font: 600 0.88em/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--ink-2); border: 1px solid var(--line); padding: 1px 6px; border-radius: 6px; color: var(--text); overflow-wrap: anywhere; }
.doc pre { background: #0b1220; color: #d6dde8; border: 1px solid #1f2836; border-radius: 14px; padding: 16px 18px; margin: 0 0 16px; overflow-x: auto; }
.doc pre code { font: 13px/1.65 ui-monospace, SFMono-Regular, Menlo, monospace; background: none; border: 0; padding: 0; color: inherit; overflow-wrap: normal; }
.prov-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.callout { display: flex; gap: 14px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; margin: 0 0 22px; }
.callout svg { flex: none; width: 22px; height: 22px; color: var(--accent); margin-top: 2px; }
.callout.warn svg { color: var(--danger); }
.callout p { margin: 0; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; }
.toc a { font-size: 14px; padding: 6px 12px; border-radius: 99px; border: 1px solid var(--line); color: var(--muted); background: var(--card); }
.toc a:hover { color: var(--text); text-decoration: none; }
.lang { font-size: 13px; color: var(--faint); margin-top: 4px; }

/* Language menu */
.langs { position: relative; }
.nav nav + .langs { margin-left: 0; }
.langs summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 6px;
  height: 38px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--card); color: var(--muted); font-size: 14px; font-weight: 500;
}
.langs summary::-webkit-details-marker { display: none; }
.langs summary svg { width: 17px; height: 17px; }
.langs[open] summary { color: var(--text); }
.langs-menu {
  position: absolute; right: 0; top: 46px; min-width: 170px; padding: 6px;
  background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow);
  display: grid; z-index: 30;
}
.langs-menu a { padding: 9px 12px; border-radius: 10px; color: var(--text); font-size: 15px; }
.langs-menu a:hover { background: var(--ink-2); text-decoration: none; }
.langs-menu a[aria-current="true"] { color: var(--accent); font-weight: 600; }
@media (max-width: 760px) {
  .nav .langs, .nav nav + .langs { margin-left: auto; }
  .nav .langs + .btn { margin-left: 8px; }
  .langs summary span { display: none; }
}

/* Provider section: a sketch of typing a code and getting signed in */
.prov-mock { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); max-width: 440px; justify-self: center; width: 100%; }
.pm-label { font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 8px; }
.pm-input { display: flex; align-items: center; height: 52px; padding: 0 16px; border-radius: 14px; background: var(--ink-2); border: 1.5px solid var(--accent); font: 600 18px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.pm-input i { width: 2px; height: 22px; background: var(--accent); margin-left: 3px; animation: pm-blink 1s steps(1) infinite; }
@keyframes pm-blink { 50% { opacity: 0; } }
.pm-arrow { text-align: center; color: var(--faint); font-size: 20px; margin: 10px 0; }
.pm-card { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); }
.pm-card img { width: 38px; height: 38px; border-radius: 11px; }
.pm-card b { display: block; }
.pm-card small { color: var(--muted); font-size: 13px; }
.pm-ok { margin-left: auto; width: 26px; height: 26px; border-radius: 99px; background: var(--accent); color: #fff; display: grid; place-items: center; font-size: 14px; font-weight: 700; flex: none; }
.pm-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.pm-list li { position: relative; padding-left: 24px; color: var(--muted); font-size: 14.5px; }
.pm-list li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

/* Small phones: nothing may be wider than the screen. */
.btn { white-space: nowrap; }
.phone { width: min(300px, 100%); }
.hero .wrap > div, .split > div, .split > .prov-mock { min-width: 0; }
@media (max-width: 420px) {
  .wrap { padding: 0 18px; }
  .nav .btn.primary.small { display: none; }
  .store { min-width: 0; width: 100%; }
  .card, .prov-mock { padding: 20px; }
  .doc table { font-size: 13.5px; }
  .doc th, .doc td { padding: 10px; }
}
