/* About, Privacy and Help: the front page's look (style.css), with a short dark top and a white page of text. */

[hidden] { display: none !important; }
.site-nav a[aria-current="page"] { color: #fff; font-weight: 600; }

/* ---------- The top ---------- */

.page-hero { position: relative; overflow: hidden; padding: 72px 24px 120px; color: #f2fbff; background: radial-gradient(ellipse at 50% 130%, #2b7fa6 0%, transparent 60%), linear-gradient(180deg, var(--night) 0%, var(--navy) 70%, #1f5b80 100%); text-align: center; }
.page-hero .hero-glow { opacity: .4; }
.page-hero-copy { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }
.page-hero h1 { margin: 18px 0 14px; font-size: clamp(38px, 5.6vw, 64px); font-weight: 700; letter-spacing: -.045em; line-height: 1.02; }
.page-hero p { margin: 0 auto; max-width: 600px; color: rgba(226,244,252,.85); font-size: 18px; line-height: 1.6; }
.page-hero .version-pill { cursor: default; }
.page-hero .version-pill:hover { background: rgba(255,255,255,.08); }
.page-hero .version-pill .ti { color: #ffc27a; }

/* ---------- The page ---------- */

.page { position: relative; z-index: 2; max-width: 860px; margin: -72px auto 0; padding: 0 24px 110px; }
.page-card { padding: 48px 56px; border: 1px solid var(--line); border-radius: 28px; background: var(--surface); box-shadow: var(--shadow); }
.page-card + .page-card { margin-top: 24px; }
.page-card > :first-child { margin-top: 0; }
.page-card > :last-child { margin-bottom: 0; }
.page h2 { margin: 44px 0 12px; color: var(--heading); font-size: 24px; font-weight: 700; letter-spacing: -.02em; scroll-margin-top: 84px; }
.page h3 { margin: 26px 0 8px; color: #344558; font-size: 17px; font-weight: 600; }
.page p, .page li { color: #4f6170; font-size: 15.5px; line-height: 1.75; }
.page p { margin: 0 0 14px; }
.page ul { margin: 0 0 14px; padding-left: 22px; }
.page li + li { margin-top: 4px; }
.page strong { color: #344558; }
.page a { color: var(--blue); font-weight: 600; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.page a:hover { color: var(--blue-dark); }
.page-updated { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 6px !important; color: var(--muted) !important; font-size: 13.5px !important; }
.page-updated .ti { font-size: 16px; }

/* A few points in boxes, with an icon each (Privacy at a glance, what About stands for). */
.point-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 22px 0 8px; padding: 0 !important; list-style: none; }
.point-grid li { display: flex; align-items: flex-start; gap: 14px; margin: 0 !important; padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(180deg, #fff, #f8fcfe); }
.point-grid .feature-icon { width: 40px; height: 40px; border-radius: 12px; }
.point-grid .feature-icon .ti { font-size: 19px; }
.point-grid li > span:last-child { display: grid; gap: 2px; }
.point-grid strong { font-size: 15px; }
.point-grid small { color: var(--muted); font-size: 13.5px; line-height: 1.55; }

/* Jump to a section. */
.page-toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; padding: 0 !important; list-style: none; }
.page-toc li { margin: 0 !important; }
.page-toc a { display: inline-block; padding: 6px 12px; border: 1px solid var(--line); border-radius: 20px; color: #4f6170; background: #f6fbfd; font-size: 13.5px; font-weight: 600; text-decoration: none; transition: border-color .15s, color .15s; }
.page-toc a:hover { border-color: #9fd2e1; color: var(--blue); }

/* A table of what's kept, and for how long. */
.data-table { width: 100%; margin: 16px 0 18px; border-collapse: collapse; font-size: 14.5px; }
.data-table th, .data-table td { padding: 11px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; line-height: 1.55; }
.data-table th { color: #344558; background: #f6fbfd; font-size: 13px; font-weight: 700; letter-spacing: .02em; }
.data-table td { color: #4f6170; }
.data-table td:first-child { color: #344558; font-weight: 600; }

/* ---------- About ---------- */

.about-name { display: flex; align-items: center; gap: 20px; margin: 0 0 8px; padding: 20px 22px; border-radius: 20px; background: linear-gradient(120deg, #eaf7fb, #fff6ea); }
.about-name img { width: 64px; height: 64px; flex: 0 0 auto; border: 3px solid #fff; border-radius: 18px; box-shadow: 0 6px 16px rgba(38,83,113,.18); }
.about-name p { margin: 0 !important; }
.about-name strong { font-size: 17px; }
.about-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 28px; padding: 26px; border-radius: 22px; color: #fff; background: radial-gradient(ellipse at 0% 0%, #2b7fa6 0%, transparent 60%), linear-gradient(120deg, var(--navy), #1f5b80); }
.about-cta div { flex: 1 1 260px; }
.about-cta h2 { margin: 0 0 4px; color: #fff; font-size: 22px; }
.about-cta p { margin: 0; color: rgba(226,244,252,.85); }
.about-cta .download-button { padding: 11px 22px 11px 18px; }

/* ---------- Help ---------- */

.faq { display: grid; gap: 10px; margin: 18px 0 0; }
.faq details { border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(180deg, #fff, #f9fcfe); transition: border-color .15s, box-shadow .15s; }
.faq details[open] { border-color: #b9dfeb; box-shadow: 0 8px 22px rgba(38,83,113,.08); }
.faq summary { display: flex; align-items: center; gap: 12px; padding: 15px 18px; color: #344558; font-size: 15.5px; font-weight: 600; list-style: none; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary > .ti:first-child { color: var(--blue); font-size: 20px; }
.faq summary::after { content: ""; width: 8px; height: 8px; margin-left: auto; border-right: 2px solid #9aaebb; border-bottom: 2px solid #9aaebb; transform: rotate(45deg) translateY(-2px); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(225deg) translateY(-2px); }
.faq details > div { padding: 0 18px 14px 50px; }
.faq details p:last-child { margin-bottom: 0; }

.help-form { display: grid; gap: 16px; margin-top: 20px; }
.help-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.help-field { display: grid; align-content: start; gap: 6px; }
.help-field > span { color: #344558; font-size: 14px; font-weight: 600; }
.help-field small { color: var(--muted); font-size: 12.5px; line-height: 1.5; }
.help-input { display: flex; align-items: center; border: 1px solid #cfdfe7; border-radius: 12px; background: #fbfdfe; transition: border-color .15s, box-shadow .15s; }
.help-input:focus-within { border-color: #5bb7d3; box-shadow: 0 0 0 4px rgba(91,183,211,.18); }
.help-input.has-error { border-color: #d0625c; box-shadow: 0 0 0 4px rgba(208,98,92,.12); }
.help-input > span { padding-left: 13px; color: #8b9ba4; font-weight: 600; }
.help-input input, .help-input select, .help-input textarea { width: 100%; min-width: 0; padding: 12px 13px; border: 0; border-radius: 12px; outline: none; color: var(--ink); background: transparent; font: inherit; font-size: 15px; }
.help-input > span + input { padding-left: 2px; }
.help-input textarea { min-height: 150px; resize: vertical; line-height: 1.55; }
.help-input select { appearance: none; cursor: pointer; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%239aaebb' stroke-width='2'/%3E%3C/svg%3E") right 14px center no-repeat; }
.help-count { justify-self: end; margin-top: -2px; }
/* People don't see this field; robots fill it in. */
.help-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.help-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 4px; }
.help-submit { display: inline-flex; align-items: center; gap: 8px; padding: 13px 24px; border: 0; border-radius: 12px; color: #fff; background: linear-gradient(110deg, #2488ac, #49b3ce); box-shadow: 0 8px 20px rgba(36,136,172,.28); font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; transition: transform .15s, filter .15s; }
.help-submit:hover { transform: translateY(-1px); filter: brightness(1.06); }
.help-submit:disabled { cursor: progress; opacity: .7; transform: none; }
.help-submit .ti { font-size: 18px; }
.help-actions small { color: var(--muted); font-size: 13px; }
.help-error { margin: 0 !important; padding: 11px 14px; border-radius: 12px; color: #a8423d !important; background: #fdf0ef; font-size: 14px !important; }
.help-sent { display: grid; justify-items: center; gap: 6px; padding: 30px 10px 10px; text-align: center; }
.help-sent .feature-icon { width: 64px; height: 64px; border-radius: 20px; }
.help-sent .feature-icon .ti { font-size: 30px; }
.help-sent h3 { margin: 12px 0 0; font-size: 22px; }
.help-sent p { max-width: 460px; margin: 0; }
.help-sent button { margin-top: 10px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 10px; color: var(--blue); background: #fff; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }

/* ---------- Status ---------- */

/* The card's state (pages.js, setUpStatus) colours the light, the title and each row's badge. */
.status-card { --state: #8aa0ad; --state-soft: #eef3f6; }
.status-card[data-state="up"], .status-list li[data-state="up"] { --state: #3f9a5e; --state-soft: #e3f5e9; }
.status-card[data-state="slow"], .status-list li[data-state="slow"] { --state: #c98a1c; --state-soft: #fdf3dc; }
.status-card[data-state="problem"], .status-list li[data-state="problem"] { --state: #d0702c; --state-soft: #fdeadd; }
.status-card[data-state="down"], .status-list li[data-state="down"] { --state: #c4453f; --state-soft: #fbe5e3; }
.status-list li[data-state="checking"] { --state: #8aa0ad; --state-soft: #eef3f6; }
.status-summary { display: flex; align-items: center; gap: 20px; padding: 22px; border-radius: 22px; background: var(--state-soft); transition: background .3s; }
.status-light { position: relative; width: 64px; height: 64px; flex: 0 0 64px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--state); box-shadow: 0 8px 22px rgba(38,83,113,.18); transition: background .3s; }
.status-light .ti { font-size: 30px; }
.status-card[data-state="up"] .status-light::after { position: absolute; inset: 0; border-radius: 50%; content: ""; animation: status-pulse 2.4s ease-out infinite; }
@keyframes status-pulse { from { box-shadow: 0 0 0 0 rgba(63,154,94,.45); } to { box-shadow: 0 0 0 18px rgba(63,154,94,0); } }
.status-card[data-state="checking"] .status-light .ti { animation: status-spin 1s linear infinite; }
@keyframes status-spin { to { transform: rotate(360deg); } }
.status-summary h2 { margin: 0 0 2px !important; color: var(--heading); font-size: 26px; }
.status-summary p { margin: 0 !important; }
.status-list { display: grid; gap: 10px; margin: 18px 0 0 !important; padding: 0 !important; list-style: none; }
.status-list li { display: flex; align-items: center; gap: 14px; margin: 0 !important; padding: 14px 16px; border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(180deg, #fff, #f8fcfe); }
.status-list .feature-icon { width: 40px; height: 40px; flex: 0 0 40px; border-radius: 12px; }
.status-list .feature-icon .ti { font-size: 19px; }
.status-list li > span:nth-child(2) { min-width: 0; flex: 1; display: grid; gap: 2px; }
.status-list strong { font-size: 15px; }
.status-list small { color: var(--muted); font-size: 13.5px; line-height: 1.5; }
.status-badge { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; color: var(--state); background: var(--state-soft); font-size: 13px; font-weight: 700; }
.status-badge::before { width: 8px; height: 8px; border-radius: 50%; background: var(--state); content: ""; }
.status-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 18px; }
.status-refresh { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border: 1px solid var(--line); border-radius: 12px; color: var(--blue); background: #fff; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; transition: border-color .15s, background .15s; }
.status-refresh:hover { border-color: #9fd2e1; background: #f3fafd; }
.status-refresh:disabled { cursor: progress; opacity: .6; }
.status-refresh .ti { font-size: 17px; }
.status-actions small { color: var(--muted); font-size: 13px; }
.page code { padding: 1px 6px; border-radius: 6px; color: #344558; background: #eef5f9; font-size: .92em; }

/* ---------- Snakkes More ---------- */

.more-page-hero .version-pill .ti { color: #ffd27a; }
.more-shot { margin: 18px 0 18px; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 16px 40px rgba(38,83,113,.14); }
.more-shot img { display: block; width: 100%; height: auto; }
/* A few name styles, drawn like in the app. */
.more-names { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; margin: 16px 0 18px; padding: 26px 18px; border-radius: 20px; background: linear-gradient(160deg, #22394a, #2a2540); }
.more-name { font-size: 26px; font-weight: 800; letter-spacing: -.01em; }
.more-name.is-prism { background: linear-gradient(90deg, #ff6b6b, #f7c948, #5fd38d, #4fb7f0, #b48cf2, #ff6b6b) 0 0 / 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: more-prism 4s linear infinite; }
@keyframes more-prism { to { background-position: 200% 0; } }
.more-name.is-neon { color: #ffe3f6; text-shadow: 0 0 5px #ff5fc8, 0 0 14px #ff5fc8, 0 0 26px #ff2fb3; animation: more-neon 5s steps(1) infinite; }
@keyframes more-neon { 0%, 70%, 74%, 78%, 100% { opacity: 1; } 72%, 76% { opacity: .45; } }
.more-name.is-glow { color: #a5f0d0; text-shadow: 0 0 12px rgba(95,211,141,.75); }
.more-name.is-shimmer { background: linear-gradient(100deg, #f7c948 0%, #f7c948 40%, #fff6d8 50%, #f7c948 60%, #f7c948 100%) 0 0 / 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: more-shimmer 2.6s linear infinite; }
@keyframes more-shimmer { from { background-position: 100% 0; } to { background-position: -150% 0; } }
.more-steps { display: grid; gap: 10px; margin: 16px 0 18px !important; padding: 0 !important; list-style: none; }
.more-steps li { display: flex; align-items: center; gap: 14px; margin: 0 !important; padding: 14px 16px; border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(180deg, #fff, #f8fcfe); }
.more-steps .step-number { width: 36px; height: 36px; flex: 0 0 36px; display: grid; place-items: center; margin: 0; border-radius: 50%; color: #fff; background: linear-gradient(140deg, #f7c948, #e8913a); font-size: 16px; font-weight: 800; }
.more-steps li > span:last-child { display: grid; gap: 2px; }
.more-steps strong { font-size: 15px; }
.more-steps small { color: var(--muted); font-size: 13.5px; line-height: 1.5; }
/* After paying (more/thanks/): one card in the middle of the window, on the night-blue of the page tops. */
.done-page { min-height: 100vh; background: radial-gradient(ellipse at 50% 120%, #2b7fa6 0%, transparent 60%), linear-gradient(180deg, var(--night) 0%, var(--navy) 70%, #1f5b80 100%); }
.done { position: relative; min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; overflow: hidden; box-sizing: border-box; padding: 28px 16px; }
.done .hero-glow { opacity: .35; }
.done-brand { position: relative; z-index: 1; color: #fff; text-decoration: none; }
.done-card { position: relative; z-index: 1; width: min(100%, 420px); display: grid; justify-items: center; gap: 10px; padding: 30px 28px 24px; border-radius: 24px; background: var(--surface); box-shadow: 0 24px 60px rgba(5,20,35,.35); text-align: center; }
.done-icon { width: 58px; height: 58px; margin-bottom: 6px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: linear-gradient(140deg, #6fd29a, #2f9d63); box-shadow: 0 10px 24px rgba(47,157,99,.32), 0 0 0 6px rgba(86,188,106,.14); animation: done-pop .5s cubic-bezier(.2,1.6,.4,1) both; }
.done-icon .ti { font-size: 30px; }
@keyframes done-pop { from { opacity: 0; transform: scale(.5); } }
.done-pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 11px; border-radius: 999px; color: #8a5a10; background: #fff3d6; font-size: 12.5px; font-weight: 700; }
.done-pill .ti { font-size: 14px; color: #e0953a; }
.done-card h1 { margin: 2px 0 0; color: var(--heading); font-size: 30px; font-weight: 700; letter-spacing: -.03em; }
.done-lead { margin: 0; color: #4f6170; font-size: 15.5px; line-height: 1.55; }
.done-steps { display: grid; gap: 8px; width: 100%; margin: 8px 0 0; padding: 0; list-style: none; text-align: left; }
.done-steps li { display: flex; align-items: flex-start; gap: 11px; padding: 11px 13px; border: 1px solid var(--line); border-radius: 14px; background: linear-gradient(180deg, #fff, #f8fcfe); color: #4f6170; font-size: 13.5px; line-height: 1.5; }
.done-steps .ti { flex: 0 0 auto; margin-top: 1px; color: var(--blue); font-size: 18px; }
.done-steps strong { color: #344558; }
.done-help { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.done-help a, .done-footer a { color: var(--blue); font-weight: 600; text-underline-offset: 3px; }
.done-footer { position: relative; z-index: 1; margin: 0; color: rgba(226,244,252,.6); font-size: 13px; }
.done-footer a { color: rgba(226,244,252,.85); font-weight: 500; text-decoration: none; }
.done-footer a:hover { color: #fff; text-decoration: underline; }
@media (prefers-reduced-motion: reduce) {
  .status-light::after, .status-light .ti, .more-name, .done-icon { animation: none !important; }
}

/* ---------- Smaller screens ---------- */

@media (max-width: 700px) {
  .page-hero { padding: 52px 16px 100px; }
  .page-hero p { font-size: 16.5px; }
  .page { padding: 0 12px 80px; }
  .page-card { padding: 28px 20px; border-radius: 22px; }
  .page h2 { margin-top: 34px; font-size: 21px; }
  .point-grid, .help-row { grid-template-columns: 1fr; }
  .faq details > div { padding-left: 18px; }
  .data-table { font-size: 13.5px; }
  .data-table th, .data-table td { padding: 9px 8px; }
  .about-name { flex-direction: column; align-items: flex-start; }
  .status-summary { gap: 14px; padding: 16px; }
  .status-light { width: 52px; height: 52px; flex-basis: 52px; }
  .status-summary h2 { font-size: 21px; }
  /* The words take the row; the badge goes under them, lined up with the words. */
  .status-list li { flex-wrap: wrap; row-gap: 8px; }
  .status-list li > span:nth-child(2) { flex: 1 1 calc(100% - 54px); }
  .status-list .status-badge { margin-left: 54px; }
  .more-name { font-size: 22px; }
}
