/* Bleed's pages on netcive.com: the landing page, the privacy policy and account deletion. Built from
   the design handoff's "Bleed Landing", "Bleed Privacy" and "Bleed Delete Account" screens. */

/* Alegreya and Alegreya Sans, served from this site rather than Google Fonts so a visit sends
   nothing to a third party. Latin subset; SIL Open Font License, see fonts/OFL-*.txt. */
@font-face { font-family: 'Alegreya'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fonts/alegreya.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; }
@font-face { font-family: 'Alegreya'; font-style: italic; font-weight: 400 800; font-display: swap; src: url(fonts/alegreya-italic.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; }
@font-face { font-family: 'Alegreya Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/alegreya-sans-400.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; }
@font-face { font-family: 'Alegreya Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/alegreya-sans-500.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; }
@font-face { font-family: 'Alegreya Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/alegreya-sans-700.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 {
  --paper: #F3ECDD;
  --paper-light: #FBF7EE;
  --ink: #2B2A33;
  --ink2: #5E5A57;
  --rule: #CFC5B3;
  --rule-light: #DDD3C1;
  --link: #1F6F78;
  --link-hover: #174F56;
  --rose: #D2475A;
  --danger: #B23347;
  --disabled: #C9BFAE;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--paper); }
body { color: var(--ink); font-family: 'Alegreya Sans', sans-serif; min-height: 100vh; }
a { color: var(--link); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--link-hover); }
::selection { background: #E8B33A55; }
input::placeholder { color: #A79C8A; }

.wrap { max-width: 1160px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }
/* The landing design is 40px wider than the privacy and delete designs. */
.wrap.wide { max-width: 1200px; }
@media (max-width: 480px) { .wrap { padding-left: 16px; padding-right: 16px; } }

/* Header and footer */
.site-header { padding-top: 28px; padding-bottom: 28px; display: flex; align-items: baseline; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.wordmark { display: inline-flex; align-items: baseline; font: italic 800 34px/1 'Alegreya', serif; color: var(--ink); text-decoration: none; letter-spacing: -.01em; }
/* The logo's three tiles after the wordmark: rose, violet where they meet, ultramarine. */
.hexes { display: flex; gap: 2px; align-self: baseline; margin-left: 5px; }
.hexes i { width: 10px; height: 12px; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); background: var(--rose); }
.hexes i:nth-child(2) { background: #6E4A8E; }
.hexes i:nth-child(3) { background: #3B5BA9; }
.site-nav { display: flex; gap: 28px; font-size: 17px; font-weight: 500; align-items: center; flex-wrap: wrap; }
.site-nav a { color: var(--ink); text-decoration: none; }
.site-nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--rose); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.site-footer { padding-top: 32px; padding-bottom: 32px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 15px; color: var(--ink2); }
.site-footer.ruled { border-top: 1px solid var(--rule-light); }
.site-footer .wordmark { font-size: 20px; }
.site-footer .hexes i { width: 7px; height: 8px; }
.site-footer .copyright { align-self: center; }
.site-footer nav { display: flex; gap: 24px; }
.site-footer nav a { color: var(--ink2); }

/* Hero */
.hero { padding-top: 56px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 40px 72px; align-items: end; }
.hero.privacy { padding-bottom: 72px; }
.hero.delete { padding-bottom: 64px; gap: 32px 72px; }
.eyebrow { font-size: 15px; font-weight: 700; letter-spacing: .12em; color: var(--ink2); }
.hero-title { display: flex; flex-direction: column; gap: 18px; }
.hero h1 { margin: 0; font: italic 800 clamp(56px, 8vw, 104px)/.9 'Alegreya', serif; letter-spacing: -.03em; }
.hero.delete h1 { font-size: clamp(54px, 7.6vw, 98px); }
.hero .updated { font-size: 16px; color: var(--ink2); }
.lede { margin: 0; font: italic 400 clamp(22px, 2.4vw, 28px)/1.35 'Alegreya', serif; text-wrap: pretty; }

/* The colour chart */
.chart { padding-bottom: 88px; }
.chart-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-bottom: 2px solid var(--ink); padding-bottom: 12px; }
.chart-head h2 { margin: 0; font: italic 800 34px/1 'Alegreya', serif; }
.chart-head div { font-size: 16px; color: var(--ink2); }
.pan { display: flex; flex-wrap: wrap; gap: 16px 32px; padding: 26px 0; border-bottom: 1px solid var(--rule); }
.pan:last-child { border-bottom: none; }
.pan-name { flex: 1 1 300px; display: flex; gap: 20px; align-items: center; }
.pan-name canvas, .pan-name .empty-pan { width: 112px; height: 64px; flex: none; }
.empty-pan { border: 2px dashed #A79C8A; border-radius: 44% 56% 48% 52% / 55% 45% 55% 45%; }
.pan-title { font: 700 23px/1.15 'Alegreya', serif; }
.pan-sub { font-size: 16px; color: var(--ink2); margin-top: 4px; }
.pan-cell { flex: 1 1 150px; }
.pan-cell.why { flex-basis: 170px; }
.pan-cell.wide { flex: 3 1 520px; font-size: 17px; line-height: 1.5; text-wrap: pretty; }
.label { font-size: 13px; font-weight: 700; letter-spacing: .1em; color: var(--ink2); }
.pan-cell .value { font-size: 17px; line-height: 1.4; margin-top: 4px; }

/* The full policy */
.policy { background: var(--paper-light); border-top: 1px solid var(--rule-light); }
.policy-grid { padding-top: 80px; padding-bottom: 96px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 48px 72px; }
.policy-toc { display: flex; flex-direction: column; gap: 18px; }
.policy-toc h2 { margin: 0; font: italic 800 34px/1.05 'Alegreya', serif; }
.policy-toc nav { display: flex; flex-direction: column; gap: 10px; font-size: 17px; }
.policy-toc nav a { color: var(--ink); text-decoration: none; }
.policy-body { grid-column: span 2; max-width: 680px; display: flex; flex-direction: column; gap: 44px; font-size: 18px; line-height: 1.6; text-wrap: pretty; }
@media (max-width: 800px) { .policy-body { grid-column: auto; } }
.policy-body section { display: flex; flex-direction: column; gap: 12px; scroll-margin-top: 24px; }
.policy-body h3 { margin: 0; font: 700 26px/1.2 'Alegreya', serif; }
.policy-body p { margin: 0; }

/* Delete account */
.delete-grid { padding-bottom: 96px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 56px 72px; align-items: start; }
.delete-info { display: flex; flex-direction: column; gap: 56px; }
.delete-info section { display: flex; flex-direction: column; gap: 20px; }
.delete-info h2 { margin: 0; font: italic 800 32px/1 'Alegreya', serif; border-bottom: 2px solid var(--ink); padding-bottom: 12px; }
.steps { display: flex; flex-direction: column; gap: 16px; font-size: 18px; line-height: 1.45; margin: 0; padding: 0; list-style: none; }
.steps li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: baseline; }
.steps .n { font: italic 800 34px/1 'Alegreya', serif; color: #3B5BA9; }
.timeline { display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; }
.timeline li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 16px; }
.timeline .rail { display: flex; flex-direction: column; align-items: center; }
.timeline .dot { width: 18px; height: 18px; margin-top: 4px; }
.timeline .line { flex: 1; width: 2px; background: var(--rule); margin: 6px 0; }
.timeline .text { padding-bottom: 26px; }
.timeline li:last-child .text { padding-bottom: 0; }
.timeline .when { font: 700 21px/1.3 'Alegreya', serif; }
.timeline .what { font-size: 17px; line-height: 1.5; color: var(--ink2); text-wrap: pretty; }

.card { position: relative; background: var(--paper-light); border-radius: 18px; box-shadow: 0 1px 2px rgba(60, 40, 20, .08), 0 18px 40px rgba(60, 40, 20, .12); padding: 28px; display: flex; flex-direction: column; gap: 24px; }
.card-wash { position: relative; height: 150px; }
.card-wash canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.card-id { position: absolute; left: 22px; bottom: 20px; display: flex; flex-direction: column; gap: 2px; color: #F7F1E5; transition: opacity .6s ease; }
.card-id .small { font-size: 13px; font-weight: 700; letter-spacing: .12em; }
.card-id .id { font: italic 800 30px/1.1 'Alegreya', serif; font-variant-numeric: tabular-nums; }
.form { display: flex; flex-direction: column; gap: 22px; }
.form fieldset { border: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.form legend { padding: 0; margin-bottom: 10px; }
.scopes { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; }
.scope { position: relative; text-align: left; padding: 14px 16px; border-radius: 14px; cursor: pointer; background: transparent; border: 2px solid var(--rule-light); color: var(--ink); display: flex; flex-direction: column; gap: 4px; }
.scope input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.scope:has(input:checked) { background: #fff; border-color: var(--ink); }
.scope:has(input:focus-visible) { outline: 3px solid rgba(31, 111, 120, .45); outline-offset: 2px; }
.scope .t { font: 700 19px/1.2 'Alegreya', serif; }
.scope .d { font-size: 15px; line-height: 1.4; color: var(--ink2); }
.field { display: flex; flex-direction: column; gap: 8px; }
.field input { height: 52px; padding: 0 16px; border-radius: 12px; border: 1.5px solid var(--rule); background: #fff; font: 500 19px 'Alegreya Sans', sans-serif; color: var(--ink); outline: none; }
.field input.code { letter-spacing: .06em; text-transform: uppercase; }
.field input:focus { border-color: var(--link); box-shadow: 0 0 0 3px rgba(31, 111, 120, .18); }
.field .hint { font-size: 15px; color: var(--ink2); }
.ack { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; align-items: start; cursor: pointer; font-size: 17px; line-height: 1.45; }
.ack input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--danger); }
.submit { height: 56px; border-radius: 14px; border: none; background: var(--danger); color: #FFF8F0; font-size: 18px; font-weight: 700; cursor: pointer; transition: background .2s ease; font-family: inherit; }
.submit:disabled, .submit.not-ready { background: var(--disabled); }
.submit:disabled { cursor: progress; }
.done h3:focus { outline: none; }
.error { font-size: 15px; color: var(--danger); }
.human { min-height: 65px; }
.done { display: flex; flex-direction: column; gap: 14px; }
.done h3 { margin: 0; font: italic 800 34px/1.05 'Alegreya', serif; }
.done p { margin: 0; font-size: 18px; line-height: 1.5; text-wrap: pretty; }
.done p.quiet { font-size: 16px; color: var(--ink2); }
.text-button { align-self: flex-start; height: 44px; padding: 0; border: none; background: none; color: var(--link); font-size: 17px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-family: inherit; }
[hidden] { display: none !important; }

@media (prefers-reduced-motion: reduce) { .card-id, .submit { transition: none; } }

/* Landing page (the handoff's "Bleed Landing") */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.landing-header { align-items: center; }
.site-nav .nav-cta { height: 44px; padding: 0 18px; border-radius: 22px; background: var(--ink); color: #F7F1E5; display: flex; align-items: center; font-weight: 700; }
.site-nav .nav-cta:hover { background: #3A3944; color: #F7F1E5; }
.try-board:focus-visible { outline: 3px solid rgba(31, 111, 120, .45); outline-offset: 4px; border-radius: 8px; }

.landing-hero { padding-top: 40px; padding-bottom: 96px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 48px 56px; align-items: center; }
.landing-intro { display: flex; flex-direction: column; gap: 26px; }
.landing-intro h1 { margin: 0; font: italic 800 clamp(64px, 9.5vw, 132px)/.88 'Alegreya', serif; letter-spacing: -.035em; }
.landing-lede { margin: 0; max-width: 500px; font-size: 20px; line-height: 1.5; text-wrap: pretty; }
.store-row { display: flex; gap: 12px; flex-wrap: wrap; }
.store { height: 56px; padding: 0 24px; border-radius: 16px; display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 700; text-decoration: none; box-sizing: border-box; }
.store-solid { background: var(--link); color: #F7F1E5; }
.store-solid:hover { background: var(--link-hover); color: #F7F1E5; }
.store-outline { border: 2px solid var(--link); color: var(--link); }
.store-light { background: #F7F1E5; color: var(--ink); }
.store-light-outline { border: 2px solid #F7F1E5; color: #F7F1E5; }
.store .soon { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .7; }

.try-card { position: relative; background: var(--paper-light); border-radius: 20px; padding: 24px 24px 20px; box-shadow: 0 1px 2px rgba(60, 40, 20, .08), 0 24px 48px rgba(60, 40, 20, .14); transform: rotate(.8deg); display: flex; flex-direction: column; gap: 18px; }
.try-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.try-title { margin: 0; font: italic 700 22px 'Alegreya', serif; }
.try-status { font-size: 15px; color: var(--ink2); flex: none; }
.try-board { width: 100%; display: block; cursor: pointer; touch-action: manipulation; }
.try-controls { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.pans { display: flex; gap: 14px; }
.pan { width: 48px; height: 48px; border-radius: 48% 52% 46% 54%; border: none; cursor: pointer; padding: 0; box-shadow: inset 0 0 0 1px rgba(43, 42, 51, .12), 0 2px 5px rgba(60, 40, 20, .15); transition: transform .18s ease, box-shadow .18s ease; }
.pan[data-pan="r"] { background: #D2475A; }
.pan[data-pan="b"] { background: #3B5BA9; }
.pan[data-pan="y"] { background: #E8B33A; }
.pan[aria-checked="true"] { transform: translateY(-6px); box-shadow: 0 0 0 3px var(--paper-light), 0 0 0 5.5px var(--link); }
.pan:focus-visible { outline: 3px solid rgba(31, 111, 120, .45); outline-offset: 4px; }
.try-actions { display: flex; gap: 18px; }
.try-dry, .try-reset { height: 44px; padding: 0; border: none; background: none; font-family: inherit; font-size: 16px; cursor: pointer; }
.try-dry { color: var(--link); font-weight: 700; }
.try-reset { color: var(--ink2); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }

.how { border-top: 2px solid var(--ink); }
.how-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.how-step { padding: 40px 32px 48px 0; display: flex; flex-direction: column; gap: 18px; }
.how-step:last-child { padding-right: 0; }
.how-step p { margin: 0; font-size: 18px; line-height: 1.5; text-wrap: pretty; }
.how-head { display: flex; align-items: baseline; gap: 14px; }
.how-n { font: italic 800 64px/1 'Alegreya', serif; }
.n-rose { color: #D2475A; }
.n-blue { color: #3B5BA9; }
.n-gold { color: #C07A12; }
.how-name { font: italic 800 34px/1 'Alegreya', serif; }
.how-tiles { display: flex; gap: 4px; height: 56px; align-items: center; }
.htile { width: 48px; height: 56px; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); display: flex; align-items: flex-end; justify-content: center; gap: 4px; padding-bottom: 13px; box-sizing: border-box; }
.htile i { width: 5px; height: 5px; border-radius: 50%; background: var(--paper-light); }
.htile.paper { background: #E5DCCB; }
.htile.rose { background: #D2475A; }
.htile.pale-rose { background: #E3A4AD; }
.htile.violet { background: #6E4A8E; }

.modes { padding-top: 72px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 72px; }
.mode { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 24px 64px; align-items: center; }
.mode-art { width: 100%; height: 220px; }
.duel-art { position: relative; }
.duel-art canvas { position: absolute; top: 0; width: 62%; height: 100%; }
.duel-left { left: 0; }
.duel-right { right: 0; mix-blend-mode: multiply; }
.mode-text { display: flex; flex-direction: column; gap: 12px; }
.mode-text h2 { margin: 0; font: italic 800 clamp(40px, 5vw, 60px)/1 'Alegreya', serif; letter-spacing: -.02em; }
.mode-text p { margin: 0; font-size: 19px; line-height: 1.5; max-width: 520px; text-wrap: pretty; }

.get { background: var(--ink); color: #F7F1E5; }
.get-inner { padding-top: 88px; padding-bottom: 88px; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.get h2 { margin: 0; font: italic 800 clamp(56px, 8vw, 104px)/.9 'Alegreya', serif; letter-spacing: -.03em; }
.get p { margin: 0; font-size: 20px; line-height: 1.5; max-width: 520px; color: #E2DACB; text-wrap: pretty; }

@media (prefers-reduced-motion: reduce) { .pan { transition: none; } }
