/* Hytyde — deep sea navy, bright aqua, coral and violet accents */
:root {
  --mist: #F2F8FB;          /* page background */
  --panel: #FFFFFF;         /* cards */
  --ink: #0A1B2E;           /* text, navy */
  --ink-soft: #4A5F78;
  --tide: #047A6E;          /* profit text, links */
  --tide-bright: #14B8A6;   /* fills, chart lines */
  --aqua: #5EEAD4;          /* highlights on navy */
  --deep: #0A1B2E;
  --sea: #0E3A5C;
  --water: #C7F5EC;
  --amber: #FF7A45;         /* coral: buys, accents */
  --amber-text: #B85A12;
  --violet: #6A4BD8;
  --line: #DDE7EF;
  --loss: #C23A52;
  --shadow: 0 1px 2px rgba(10, 27, 46, .06), 0 8px 24px -12px rgba(10, 27, 46, .18);
  --display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --body: "Plus Jakarta Sans", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(94, 234, 212, .22), transparent 60%),
    radial-gradient(900px 420px at -10% 10%, rgba(106, 75, 216, .10), transparent 60%),
    var(--mist);
  background-repeat: no-repeat;
  color: var(--ink);
  font: 400 1rem/1.65 var(--body);
  font-variant-numeric: tabular-nums;
}
.wrap { width: min(1160px, 100% - 2.5rem); margin-inline: auto; }
a { color: var(--tide); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
a:hover { color: var(--violet); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .5rem 1rem; z-index: 50; }
.skip:focus { left: 1rem; }

h1, h2, h3 { font-family: var(--display); line-height: 1.05; letter-spacing: -0.025em; margin: 0; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0; }
.muted { color: var(--ink-soft); }
.up { color: var(--tide); }
.down { color: var(--loss); }
.warn { color: var(--amber-text); }

/* header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .82); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: .75rem 1.5rem; min-height: 4.25rem; flex-wrap: wrap; padding-block: .6rem; }
.brand { font-family: var(--display); font-weight: 800; font-size: 1.55rem; letter-spacing: -0.03em; color: var(--ink); text-decoration: none; display: flex; align-items: center; gap: .5rem; }
.brand:hover { color: var(--ink); }
.brand svg { flex: none; }
nav { display: flex; gap: .35rem; flex-wrap: wrap; justify-content: flex-end; }
nav a { color: var(--ink); text-decoration: none; font-weight: 700; font-size: .92rem; padding: .45rem .85rem; border-radius: 999px; transition: background .15s, color .15s; }
nav a:hover { background: rgba(20, 184, 166, .12); color: var(--ink); }
nav a[aria-current="page"] { background: var(--ink); color: #fff; }

main { padding-block: 2.5rem 5rem; outline: none; }

/* hero */
.hero {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 2.5rem; align-items: center;
  background: linear-gradient(135deg, var(--deep) 0%, var(--sea) 55%, #0B6E73 100%);
  color: #fff; border-radius: 28px; padding: clamp(1.75rem, 4vw, 3.25rem);
  box-shadow: 0 30px 60px -30px rgba(10, 27, 46, .55);
}
.hero::before {
  content: ""; position: absolute; inset: auto -10% -45% -10%; height: 70%;
  background: radial-gradient(closest-side, rgba(94, 234, 212, .35), transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 122, 69, .45), transparent 70%); pointer-events: none;
}
.hero > * { position: relative; z-index: 1; }
.hero h1 { max-width: 13ch; color: #fff; }
.hero h1 .hl { background: linear-gradient(90deg, var(--aqua), #A5F3FC); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lede { margin-top: 1.25rem; max-width: 46ch; color: #C9D6E3; font-size: 1.1rem; }
.hero .lede.small { margin-top: .75rem; font-size: .98rem; }
.hero-chart { background: #fff; color: var(--ink); border-radius: 20px; padding: 1.25rem 1.25rem .75rem; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .5); }
.hero-chart .chart-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: .5rem; }
.hero-chart .chart-head a { font-weight: 700; white-space: nowrap; }

/* charts */
.chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.chart .grid { stroke: var(--line); stroke-width: 1; }
.chart .dashed { stroke-dasharray: 3 3; }
.chart .zero { stroke: var(--ink-soft); stroke-dasharray: 4 4; opacity: .55; }
.chart .axis { fill: var(--ink-soft); font: 500 12px var(--body); }
.chart .price { fill: none; stroke: var(--sea); stroke-width: 2; stroke-linejoin: round; }
.chart .water { fill: var(--water); }
.chart .start { stroke: var(--ink-soft); stroke-dasharray: 3 4; }
.chart .start-label { fill: var(--ink-soft); font: 12px var(--body); }
.chart .buy { fill: var(--amber); stroke: #fff; stroke-width: 2; }
.chart .sell { fill: #fff; stroke: var(--tide-bright); stroke-width: 2.5; }
.chart .cross { stroke: var(--ink); stroke-width: 1; opacity: .3; }
.legend { display: flex; gap: 1.25rem; flex-wrap: wrap; font-size: .88rem; color: var(--ink-soft); margin-top: .4rem; }
.legend span { display: inline-flex; align-items: center; gap: .4rem; }
.dot { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.dot.buy { background: var(--amber); }
.dot.sell { background: #fff; border: 2.5px solid var(--tide-bright); }
.empty-chart { padding: 3rem 1rem; text-align: center; color: var(--ink-soft); }
.tip { position: fixed; pointer-events: none; background: var(--ink); color: #fff; font-size: .85rem; line-height: 1.4; padding: .5rem .7rem; border-radius: 10px; z-index: 30; white-space: nowrap; box-shadow: var(--shadow); }

/* sections */
.section { margin-top: 4.5rem; }
.section > h2 { margin-bottom: .5rem; }
.section > .intro, .intro { color: var(--ink-soft); max-width: 66ch; margin-bottom: 1.5rem; }
.badge { display: inline-flex; align-items: center; gap: .4rem; font-size: .76rem; font-weight: 800; letter-spacing: .02em; padding: .25rem .7rem; border-radius: 999px; }
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.badge.paper { color: var(--violet); background: rgba(106, 75, 216, .12); }
.badge.live { color: var(--tide); background: rgba(20, 184, 166, .16); }
.badge.live::before { box-shadow: 0 0 0 0 rgba(20, 184, 166, .6); animation: ping 2s infinite; }
.strategy-top { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; margin-bottom: .6rem; }
.status { font-size: .8rem; font-weight: 700; color: var(--ink-soft); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .2rem .65rem; }
.strategy-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 1.1rem; }
.strategy { --accent: var(--tide-bright); position: relative; overflow: hidden; display: flex; flex-direction: column; gap: .6rem; background: var(--panel); border: 1px solid var(--line); border-radius: 22px; padding: 1.5rem; color: inherit; text-decoration: none; box-shadow: var(--shadow); transition: transform .18s ease, box-shadow .18s ease, border-color .18s; }
.strategy::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: linear-gradient(90deg, var(--accent), transparent); }
.strategy-grid .strategy:nth-child(2) { --accent: var(--amber); }
.strategy-grid .strategy:nth-child(3) { --accent: var(--violet); }
.strategy:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -18px rgba(10, 27, 46, .35); border-color: var(--accent); color: inherit; }
.strategy h3 { font-size: 1.45rem; color: var(--ink); }
.strategy p { color: var(--ink-soft); font-size: .95rem; }
.strategy-nums { display: flex; gap: 2rem; margin-top: auto; padding-top: .85rem; border-top: 1px dashed var(--line); min-height: 3.8rem; align-items: center; }
.fig { font-family: var(--display); font-size: 1.35rem; font-weight: 700; letter-spacing: -0.02em; }
.lab { font-size: .82rem; color: var(--ink-soft); }
.strategy .more { font-weight: 800; color: var(--ink); display: inline-flex; align-items: center; gap: .35rem; }
.strategy .more::after { content: "→"; transition: transform .18s; }
.strategy:hover .more::after { transform: translateX(4px); }
.points { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.1rem; }
.points li { background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 1.35rem 1.4rem; box-shadow: var(--shadow); }
.points li::before { content: ""; display: block; width: 38px; height: 38px; border-radius: 12px; margin-bottom: .85rem; background: linear-gradient(135deg, var(--tide-bright), var(--aqua)); }
.points li:nth-child(2)::before { background: linear-gradient(135deg, var(--amber), #FFC07A); }
.points li:nth-child(3)::before { background: linear-gradient(135deg, var(--violet), #A78BFA); }
.points p { color: var(--ink-soft); margin-top: .4rem; }

/* section list page: cards + table */
.page-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; align-items: end; margin-bottom: 2rem; }
.page-head h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.page-head .desc { margin-top: .75rem; max-width: 62ch; color: var(--ink-soft); font-size: 1.05rem; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: .9rem; margin-bottom: 1.25rem; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 1.1rem 1.25rem; box-shadow: var(--shadow); }
.card .k { font-size: .78rem; font-weight: 700; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .06em; }
.card .v { font-family: var(--display); font-size: 1.85rem; font-weight: 700; letter-spacing: -0.02em; margin-top: .25rem; line-height: 1.15; }
.card .n { font-size: .82rem; color: var(--ink-soft); margin-top: .25rem; }
.cards .card { border-top: 4px solid var(--tide-bright); }
.cards .card:nth-child(2) { border-top-color: var(--amber); }
.cards .card:nth-child(3) { border-top-color: var(--violet); }
.cards .card:nth-child(4) { border-top-color: var(--loss); }
.card.empty { padding: 3rem 1.5rem; text-align: center; background: linear-gradient(180deg, #fff, rgba(199, 245, 236, .35)); }
.card.empty h2 { margin-bottom: .6rem; }
.table-card { padding: .25rem 0 1rem; overflow: hidden; }
.table-card .table-scroll { padding-inline: 1.25rem; }
.table-card .table-note { padding-inline: 1.25rem; }
table { width: 100%; border-collapse: collapse; font-size: .93rem; margin-top: 1rem; }
th { text-align: left; font-weight: 700; color: var(--ink-soft); padding: .55rem .5rem .55rem 0; border-bottom: 2px solid var(--line); }
td { padding: .6rem .5rem .6rem 0; border-bottom: 1px solid var(--line); }
td.num, th.num { text-align: right; }
table.bots { margin-top: .5rem; min-width: 1080px; font-size: .9rem; }
table.bots th, table.bots td { white-space: nowrap; padding: .75rem .75rem .75rem 0; vertical-align: middle; }
table.bots thead th { font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
table.bots tbody th { text-align: left; font-weight: 700; }
table.bots tbody th a { color: var(--ink); font-family: var(--display); font-size: 1.1rem; text-decoration: none; }
table.bots tbody th a:hover { color: var(--tide); }
table.bots tbody tr { cursor: pointer; transition: background .12s; }
table.bots tbody tr:hover { background: rgba(94, 234, 212, .12); }
.table-scroll { overflow-x: auto; }
.table-scroll:focus-visible { outline-offset: -3px; }
.spark { display: block; }
.run { display: inline-flex; align-items: center; gap: .35rem; color: var(--tide); font-weight: 800; font-size: .82rem; background: rgba(20, 184, 166, .14); border-radius: 999px; padding: .2rem .6rem; }
.stopped { color: var(--loss); font-weight: 800; font-size: .82rem; background: rgba(194, 58, 82, .1); border-radius: 999px; padding: .2rem .6rem; }
.table-note { font-size: .82rem; color: var(--ink-soft); margin-top: .85rem; line-height: 1.55; max-width: 110ch; }

/* bot page */
.back { display: inline-flex; align-items: center; gap: .35rem; margin-bottom: 1.5rem; font-weight: 700; text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .4rem .9rem; color: var(--ink); }
.back::before { content: "←"; }
.back:hover { border-color: var(--tide-bright); color: var(--ink); }
.bot-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; align-items: end; }
.bot-head .desc { margin-top: .75rem; max-width: 60ch; color: var(--ink-soft); font-size: 1.05rem; }
.title-row { display: flex; align-items: center; gap: .6rem 1rem; flex-wrap: wrap; }
.title-row h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.pill { font-size: .78rem; font-weight: 800; color: var(--amber-text); background: rgba(255, 122, 69, .14); border-radius: 999px; padding: .25rem .7rem; }
.facts { margin-top: .85rem; display: flex; gap: .5rem; flex-wrap: wrap; color: var(--ink-soft); font-size: .88rem; }
.facts span { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .2rem .7rem; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: .8rem; margin: 2rem 0 1.25rem; }
.kpi { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 1rem 1.1rem; box-shadow: var(--shadow); overflow: hidden; }
.kpi .k, .eyebrow { font-family: var(--body); font-size: .74rem; font-weight: 800; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .07em; }
.kpi .v { font-family: var(--display); font-size: 1.55rem; font-weight: 700; letter-spacing: -0.02em; margin-top: .25rem; line-height: 1.2; }
.kpi .n { font-size: .78rem; color: var(--ink-soft); margin-top: .15rem; }
.chart-card { padding: 1.4rem 1.4rem 1.1rem; }
.chart-card .eyebrow { margin-bottom: .85rem; }
.months { display: grid; gap: 1rem; margin-top: .85rem; }
.month { padding: 1.25rem 1.4rem; }
.month-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 1rem; }
.month-head h3 { font-size: 1.25rem; }
.month-total { font-family: var(--display); font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; }
.month-body { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 1.75rem; align-items: start; }
.cal .dow, .cal .grid7 { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; }
.cal .dow { margin-bottom: 5px; }
.cal .dow span { text-align: center; font-size: .68rem; color: var(--ink-soft); font-weight: 800; }
.cal .c { min-height: 46px; border-radius: 9px; border: 1px solid var(--line); background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 3px 1px; }
.cal .c.blank { border: 0; background: transparent; }
.cal .c.none { background: var(--mist); border-color: transparent; }
.cal .c .d { font-size: .68rem; color: var(--ink-soft); font-weight: 700; }
.cal .c .a { font-size: .68rem; font-weight: 800; line-height: 1; margin-top: 3px; }
.cal .c.pos { background: rgba(20, 184, 166, .16); border-color: rgba(20, 184, 166, .45); }
.cal .c.pos .a { color: var(--tide); }
.cal .c.neg { background: rgba(194, 58, 82, .12); border-color: rgba(194, 58, 82, .4); }
.cal .c.neg .a { color: var(--loss); }
.cal .c.zero { background: rgba(74, 95, 120, .08); }
.month-stats .srow { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1px dashed var(--line); font-size: .9rem; }
.month-stats .srow span { color: var(--ink-soft); }
.month-stats .srow:last-child { border-bottom: 0; }
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.25rem; margin-top: 2.5rem; }
.two > section { background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 1.4rem; box-shadow: var(--shadow); }
.settings-list { list-style: none; padding: 0; margin: 1rem 0 0; }
.settings-list li { position: relative; padding: .6rem 0 .6rem 1.4rem; border-bottom: 1px dashed var(--line); }
.settings-list li::before { content: ""; position: absolute; left: 0; top: 1.05rem; width: 8px; height: 8px; border-radius: 50%; background: var(--tide-bright); }
.settings-list li:last-child { border-bottom: 0; }
.tag { font-weight: 800; font-size: .85rem; }
.tag.buy { color: var(--amber-text); }
.tag.sell { color: var(--tide); }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 22px; padding: 1.5rem; box-shadow: var(--shadow); }
.chart-panel { margin-top: 2.5rem; }

/* buttons */
.cta { display: inline-flex; align-items: center; gap: .4rem; background: linear-gradient(135deg, var(--amber), #FF5E7A); color: #fff; text-decoration: none; font-weight: 800; padding: .85rem 1.5rem; border-radius: 999px; box-shadow: 0 10px 24px -10px rgba(255, 94, 122, .7); transition: transform .15s, box-shadow .15s; }
.cta:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 28px -10px rgba(255, 94, 122, .8); }
button.cta { border: 0; cursor: pointer; font: inherit; font-weight: 800; }
button.cta:disabled { opacity: .6; cursor: wait; transform: none; }

/* guidelines */
.steps { list-style: none; padding: 0; margin: 2rem 0 0; counter-reset: s; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; max-width: 1000px; }
.steps li { counter-increment: s; background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 1.35rem; box-shadow: var(--shadow); }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px; margin-bottom: .9rem; font-family: var(--display); font-size: 1.3rem; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--sea), var(--tide-bright)); }
.steps p { color: var(--ink-soft); margin-top: .4rem; }
.prose { max-width: 70ch; }
.prose p + p, .prose h2 + p { margin-top: .9rem; }
.prose h2 { margin-top: 3rem; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin: .5rem 0; }
.prose li::marker { color: var(--tide-bright); }

/* footer */
.site-footer { background: var(--deep); color: #C9D6E3; padding: 2.5rem 0 3rem; font-size: .9rem; margin-top: 2rem; }
.site-footer p { max-width: 85ch; }
.owner-link { margin-top: .9rem; font-size: .85rem; }
.owner-link a { color: #C9D6E3; }
.owner-link a:hover { color: var(--aqua); }
.site-footer :focus-visible { outline-color: var(--aqua); }

.notice { padding: 2rem 0; color: var(--ink-soft); }

/* owner settings */
.owner-panel { margin-top: 3rem; }
.owner-panel > .muted { margin-top: .25rem; }
.settings-form fieldset { border: 0; padding: 0; margin: 1.75rem 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.25rem 2rem; }
.settings-form legend { font-family: var(--display); font-weight: 700; font-size: 1.2rem; padding: 0; margin-bottom: .75rem; grid-column: 1 / -1; }
.field label, .signin label { display: block; font-weight: 700; font-size: .95rem; margin-bottom: .35rem; }
.input-unit { display: flex; align-items: stretch; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; overflow: hidden; }
.input-unit:focus-within { border-color: var(--tide-bright); box-shadow: 0 0 0 3px rgba(20, 184, 166, .2); }
.input-unit input { flex: 1; min-width: 0; border: 0; padding: .65rem .8rem; font: inherit; background: transparent; outline: none; }
.input-unit span { padding: .65rem .8rem; color: var(--ink-soft); background: var(--mist); font-size: .9rem; display: flex; align-items: center; }
.input-unit:has(input[aria-invalid="true"]) { border-color: var(--loss); }
.settings-form select, .signin input { width: 100%; padding: .65rem .8rem; font: inherit; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); }
.hint { font-size: .85rem; color: var(--ink-soft); margin-top: .3rem; }
.field-error { font-size: .9rem; color: var(--loss); font-weight: 700; margin-top: .3rem; }
.form-actions { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; margin-top: 2rem; }
.form-note { color: var(--tide); font-weight: 700; }
.form-note.bad { color: var(--loss); }
.signin form { margin-top: 1.5rem; max-width: 360px; display: grid; gap: .5rem; }
.signin .cta { justify-self: start; margin-top: .5rem; }

/* responsive */
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; gap: 2rem; }
  .page-head, .bot-head { grid-template-columns: 1fr; gap: 1.25rem; }
  .page-head .cta, .bot-head .cta { justify-self: start; }
  .two { grid-template-columns: 1fr; }
  nav { justify-content: flex-start; }
}
@media (max-width: 700px) {
  .month-body { grid-template-columns: 1fr; }
  .cal .c { min-height: 40px; }
}
@media (max-width: 480px) {
  .wrap { width: calc(100% - 2rem); }
  .hero { border-radius: 22px; padding: 1.5rem 1.1rem; }
  .hero-chart { padding: 1rem .75rem .5rem; }
  nav { gap: .2rem; }
  nav a { font-size: .86rem; padding: .4rem .7rem; }
  .table-card .table-scroll, .table-card .table-note { padding-inline: .75rem; }
  .kpi .v { font-size: 1.3rem; }
}

/* motion */
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(20, 184, 166, .55); } 80%, 100% { box-shadow: 0 0 0 7px rgba(20, 184, 166, 0); } }
@media (prefers-reduced-motion: no-preference) {
  .draw { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); animation: draw 1.6s ease-out forwards; }
  .pop { opacity: 0; animation: pop .3s ease-out forwards; animation-delay: var(--d, 1.4s); }
  main > * { animation: rise .45s ease-out both; }
  main > *:nth-child(2) { animation-delay: .05s; }
  main > *:nth-child(3) { animation-delay: .1s; }
  main > *:nth-child(4) { animation-delay: .15s; }
  @keyframes draw { to { stroke-dashoffset: 0; } }
  @keyframes pop { to { opacity: 1; } }
  @keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  .badge.live::before { animation: none; }
  .strategy, .cta, nav a { transition: none; }
}

/* show earlier months */
#more-months { margin-top: 1rem; }
[hidden], #more-months[hidden] { display: none !important; }
.more-btn { margin-top: 1rem; font: inherit; font-weight: 800; color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: 999px; padding: .6rem 1.2rem; cursor: pointer; box-shadow: var(--shadow); transition: border-color .15s, transform .15s; }
.more-btn:hover { border-color: var(--tide-bright); transform: translateY(-1px); }
.more-btn::after { content: " ↓"; }
.more-btn[aria-expanded="true"]::after { content: " ↑"; }

/* what this bot needs */
.needs { background: linear-gradient(160deg, #fff 55%, rgba(199, 245, 236, .55)); border: 1px solid var(--line); border-radius: 20px; padding: 1.4rem; box-shadow: var(--shadow); }
.needs.wide { margin-top: 2.5rem; }
.needs h2 { font-size: 1.35rem; }
.needs dl { margin: 1rem 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: .75rem; }
.needs dl > div { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: .75rem .9rem; }
.needs dt { font-size: .74rem; font-weight: 800; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .06em; }
.needs dd { margin: .2rem 0 0; font-family: var(--display); font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; }
.needs dd .muted { font-family: var(--body); font-size: .8rem; font-weight: 500; }
.needs-note { margin-top: 1rem; color: var(--ink-soft); max-width: 70ch; }
.needs-link { margin-top: 1rem; font-weight: 800; }
.needs-link a::after { content: " →"; }
.risk { display: inline-block; font-family: var(--body); font-size: .85rem; font-weight: 800; padding: .15rem .65rem; border-radius: 999px; background: rgba(74, 95, 120, .1); color: var(--ink); }
.risk.low { background: rgba(20, 184, 166, .16); color: var(--tide); }
.risk.med { background: rgba(255, 122, 69, .16); color: var(--amber-text); }
.risk.high { background: rgba(194, 58, 82, .12); color: var(--loss); }
.open-sum { display: flex; gap: 2.5rem; flex-wrap: wrap; margin-top: 1rem; }
.open-sum .fig { font-size: 1.8rem; }
.two > .needs { padding: 1.4rem; }

/* buy / try */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.btn-secondary { display: inline-flex; align-items: center; font-weight: 800; color: var(--ink); text-decoration: none; background: #fff; border: 2px solid var(--ink); padding: .72rem 1.35rem; border-radius: 999px; transition: transform .15s, background .15s; }
.btn-secondary:hover { color: var(--ink); background: rgba(94, 234, 212, .2); transform: translateY(-2px); }
.hidden-tag { font-size: .72rem; font-weight: 800; color: var(--violet); background: rgba(106, 75, 216, .12); border: 1px dashed rgba(106, 75, 216, .5); border-radius: 999px; padding: .15rem .55rem; white-space: nowrap; }
.buy-link { display: inline-block; font-weight: 800; font-size: .82rem; color: #fff; background: linear-gradient(135deg, var(--amber), #FF5E7A); padding: .3rem .8rem; border-radius: 999px; text-decoration: none; }
.buy-link:hover { color: #fff; filter: brightness(1.05); }
table.bots td .hidden-tag { margin-left: .4rem; }
.step-card { max-width: 640px; padding: 2rem; }
.step-card h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin: .4rem 0 .9rem; }
.step-kicker { font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; color: var(--amber-text); }
.soon { margin-top: 1.25rem; font-weight: 800; color: var(--tide); }

/* futures: six top cards — 6 / 3 / 2 columns */
.kpis.six { grid-template-columns: repeat(6, minmax(0, 1fr)); }
@media (max-width: 1000px) { .kpis.six { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) { .kpis.six { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Try / Buy buttons on the facts row: pills left, buttons right */
.facts-row { margin-top: .85rem; display: flex; align-items: center; justify-content: space-between; gap: .5rem 1rem; flex-wrap: wrap; }
.facts-row .facts { margin-top: 0; }
.offer-btns { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; margin-left: auto; }
.btn { display: inline-flex; align-items: center; justify-content: center; font: inherit; font-size: .88rem; font-weight: 700; text-decoration: none; padding: .2rem .9rem; border-radius: 999px; border: 1px solid var(--ink); white-space: nowrap; transition: background .15s, color .15s; }
.btn-main { background: var(--ink); color: #fff; }
.btn-main:hover { background: #1B3352; border-color: #1B3352; color: #fff; }
.btn-outline { background: #fff; color: var(--ink); }
.btn-outline:hover { background: rgba(20, 184, 166, .12); color: var(--ink); }
.preview-note { font-size: .8rem; color: var(--ink-soft); }
@media (max-width: 860px) {
  .facts-row { flex-direction: column; align-items: flex-start; }
  .offer-btns { margin-left: 0; }
}
@media (max-width: 380px) {
  .facts-row { align-items: stretch; }
  .offer-btns { flex-direction: column; align-items: stretch; }
  .offer-btns .btn { width: 100%; padding: .4rem .9rem; }
  .preview-note { text-align: center; }
}
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } }

/* futures list: columns spread evenly; plain rows; Buy + Try free at the end */
table.bots.fut { min-width: 0; }
table.bots.fut tbody tr:hover { background: none; }
table.bots.fut tbody th { border-bottom-width: 1px; }
table.bots.fut td.act { padding-right: 0; }
.try-link { display: inline-block; margin-left: .4rem; font-weight: 800; font-size: .82rem; color: #C93A55; background: #fff; padding: .3rem .8rem; border-radius: 999px; text-decoration: none; box-shadow: inset 0 0 0 1.5px #E2556E; }
.try-link:hover { color: #C93A55; background: rgba(255, 94, 122, .08); }

/* customer sign-up / sign-in */
.auth-card { max-width: 480px; }
.auth-card form { margin-top: 1.5rem; display: grid; gap: 1rem; }
.auth-card label { display: block; font-weight: 700; font-size: .95rem; margin-bottom: .35rem; }
.auth-card input { width: 100%; padding: .65rem .8rem; font: inherit; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); }
.auth-card input:focus-visible { outline: 3px solid rgba(20, 184, 166, .35); border-color: var(--tide); }
.auth-card input[aria-invalid="true"] { border-color: var(--loss); }
.auth-card .field-error:empty, .auth-card .hint:empty { display: none; }
.auth-card .cta { justify-self: start; }
.auth-switch { margin-top: 1.5rem; }
.auth-owner { margin-top: .5rem; font-size: .85rem; }
.auth-owner a { color: var(--ink-soft); }
.signout-btn { margin-top: 0; justify-self: start; }

/* checkout + My Bots */
.steps-bar { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; margin: 0 0 1.25rem; padding: 0; font-size: .85rem; font-weight: 700; color: var(--ink-soft); }
.steps-bar li { display: inline-flex; align-items: center; gap: .4rem; }
.steps-bar span { display: inline-grid; place-items: center; width: 1.5rem; height: 1.5rem; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-size: .75rem; }
.steps-bar li.done span { background: var(--tide); border-color: var(--tide); color: #fff; }
.steps-bar li.now { color: var(--ink); }
.steps-bar li.now span { background: var(--ink); border-color: var(--ink); color: #fff; }
.choices { border: 0; margin: 1.5rem 0 0; padding: 0; display: grid; gap: .6rem; }
.choice { display: flex; align-items: center; gap: .75rem; padding: .85rem 1rem; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; cursor: pointer; }
.choice:hover { border-color: var(--tide-bright); }
.choice:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.choice input { accent-color: var(--ink); width: 1.1rem; height: 1.1rem; margin: 0; }
.choice-name { font-weight: 800; }
.choice-note { margin-left: auto; font-size: .85rem; color: var(--ink-soft); }
.summary-line { margin-top: 1.1rem; font-weight: 700; }
#ex-form .cta, .pay-row .cta { margin-top: .75rem; }
.summary { margin: 1.25rem 0 0; display: grid; gap: .1rem; }
.summary div { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid var(--line); }
.summary dt { color: var(--ink-soft); font-weight: 700; }
.summary dd { margin: 0; font-weight: 700; text-align: right; }
.test-note { margin-top: 1.25rem; font-size: .88rem; color: var(--ink-soft); background: var(--mist); border-radius: 12px; padding: .6rem .8rem; }
.pay-row { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; }
.pay-row .more-btn { margin-top: .75rem; box-shadow: none; }
.next-step { margin-top: 1.25rem; }
.next-step .step-kicker { display: block; margin-bottom: .2rem; }
.soon-inline { font-weight: 800; color: var(--tide); white-space: nowrap; }
.sub-list { display: grid; gap: 1rem; }
.sub-card { padding: 1.25rem 1.4rem; }
.sub-top { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem; }
.sub-top h2 { font-size: 1.35rem; margin: 0; }
.sub-top h2 a { color: var(--ink); text-decoration: none; }
.sub-card > .muted { margin-top: .6rem; }

/* plans */
.choice-legend { font-family: var(--body); font-size: .74rem; font-weight: 800; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .07em; padding: 0; margin-bottom: .1rem; }
.choices + .choices { margin-top: 1.25rem; }
.save-tag { font-size: .75rem; font-weight: 800; color: var(--tide); background: rgba(20, 184, 166, .12); border-radius: 999px; padding: .1rem .5rem; }
.choice-price { margin-left: auto; text-align: right; line-height: 1.25; }
.choice-price span { display: block; font-size: .8rem; color: var(--ink-soft); }
.refund-line { margin-top: .6rem; font-size: .9rem; color: var(--ink-soft); }

/* sign-up, sign-in, checkout and order pages: one centered column (back link, steps, box) */
.step-card { margin-inline: auto; }
main:has(> .step-card) { width: min(640px, 100% - 2rem); }
main:has(> .auth-card) { width: min(480px, 100% - 2rem); }
/* Continue and Pay (test) / Cancel order: centered in the box */
#ex-form .cta { display: flex; margin-inline: auto; }
.pay-row { justify-content: center; }
.center-row { margin-top: 1.5rem; text-align: center; }

/* connect exchange */
.guide-h { font-size: 1.15rem; margin-top: 1.75rem; }
.guide { margin: .75rem 0 0; padding-left: 1.3rem; display: grid; gap: .75rem; }
.guide li::marker { font-weight: 800; color: var(--tide); }
.guide ul { margin: .35rem 0 0; padding-left: 1.1rem; display: grid; gap: .25rem; }
.guide em { font-style: normal; font-weight: 700; }
code.ip { font: 700 .95rem/1 ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--mist); border: 1px solid var(--line); border-radius: 8px; padding: .15rem .4rem; user-select: all; }
.key-form { margin-top: 1.75rem; display: grid; gap: 1rem; }
.key-form label { display: block; font-weight: 700; font-size: .95rem; margin-bottom: .35rem; }
.key-form input { width: 100%; padding: .65rem .8rem; font: 500 .95rem ui-monospace, SFMono-Regular, Menlo, monospace; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); }
.key-form input:focus-visible { outline: 3px solid rgba(20, 184, 166, .35); border-color: var(--tide); }
.key-form .field-error:empty { display: none; }
.key-form .cta { display: flex; margin-inline: auto; }
.connected-note { margin-top: 1rem; background: rgba(20, 184, 166, .1); border-radius: 12px; padding: .6rem .8rem; font-size: .92rem; }
.check-box { margin-top: 1.5rem; border-radius: 16px; padding: 1.1rem 1.2rem; border: 1.5px solid var(--line); }
.check-box.ok { border-color: rgba(20, 184, 166, .6); background: rgba(20, 184, 166, .06); }
.check-box.bad { border-color: rgba(194, 58, 82, .45); background: rgba(194, 58, 82, .04); }
.check-box h2 { font-size: 1.2rem; margin: 0 0 .4rem; }
.check-box > p { margin-top: .6rem; }
.checks { list-style: none; margin: .75rem 0 0; padding: 0; display: grid; gap: .55rem; }
.checks li { display: flex; gap: .6rem; align-items: flex-start; }
.checks .mark { flex: none; display: inline-grid; place-items: center; width: 1.4rem; height: 1.4rem; border-radius: 999px; font-size: .78rem; font-weight: 800; color: #fff; margin-top: .1rem; }
.checks li.ok .mark { background: var(--tide); }
.checks li.bad .mark { background: var(--loss); }
.checks .found { display: block; font-size: .85rem; color: var(--ink-soft); }
.checks .fix { margin-top: .2rem; font-size: .9rem; }

/* required account settings */
.modes-warning { margin-top: 1.25rem; border: 1.5px solid rgba(184, 90, 18, .45); background: rgba(255, 122, 69, .08); border-radius: 14px; padding: .85rem 1rem; }
.modes-warning p { margin: 0; color: var(--ink); }
.modes-warning ul { margin: .5rem 0 0; padding-left: 1.1rem; display: grid; gap: .35rem; font-size: .93rem; }
.modes-line { margin-top: 1.1rem; font-size: .93rem; border-left: 4px solid var(--amber); padding: .2rem 0 .2rem .7rem; }

.balance-note { margin-top: .75rem; border: 1.5px solid rgba(184, 90, 18, .45); background: rgba(255, 122, 69, .08); border-radius: 12px; padding: .7rem .9rem; font-size: .93rem; }
.balance-note p + p { margin-top: .4rem; }
.balance-note em { font-style: normal; font-weight: 700; }

/* launch + customer results */
.confirm-row { display: flex; gap: .6rem; align-items: flex-start; margin-top: 1.25rem; font-size: .93rem; cursor: pointer; }
.confirm-row input { width: 1.15rem; height: 1.15rem; margin-top: .15rem; accent-color: var(--ink); flex: none; }
#launch-form .cta { display: flex; margin: 1rem auto 0; }
.bot-live { margin-top: .9rem; }
.bot-live-top { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; font-size: .9rem; }
.mini-kpis { margin: .9rem 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .6rem; }
.mini-kpis div { background: var(--mist); border-radius: 12px; padding: .55rem .7rem; }
.mini-kpis dt { font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); }
.mini-kpis dd { margin: .15rem 0 0; font-family: var(--display); font-weight: 700; font-size: 1.1rem; }
@media (max-width: 600px) { .mini-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.mini-table { margin-top: .8rem; font-size: .88rem; }

/* launch settings */
.preset-note { margin-top: .75rem; background: rgba(20, 184, 166, .1); border-radius: 14px; padding: .8rem 1rem; }
.preset-note p + p { margin-top: .4rem; }
.roi-note { margin-top: 1rem; font-size: .93rem; }
.setting { margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.setting label { display: block; font-weight: 800; margin-bottom: .4rem; }
.setting .input-unit { display: inline-flex; max-width: 220px; border: 1.5px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; }
.setting .input-unit input { border: 0; width: 100%; padding: .6rem .8rem; font: inherit; font-weight: 700; color: var(--ink); background: transparent; }
.setting .input-unit:focus-within { outline: 3px solid rgba(20, 184, 166, .35); border-color: var(--tide); }
.setting-meta { margin-top: .4rem; font-size: .85rem; color: var(--ink-soft); }
.setting-help { margin-top: .4rem; font-size: .93rem; line-height: 1.55; }
.setting-help em { font-style: normal; font-weight: 700; }

/* stage 5: pause / resume / ending soon */
.bot-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .9rem; }
.renew-note { margin-top: .75rem; border: 1.5px solid rgba(184, 90, 18, .45); background: rgba(255, 122, 69, .08); border-radius: 12px; padding: .7rem .9rem; font-size: .93rem; }
.renew-note p + p { margin-top: .5rem; }
.stop-note { margin-top: .6rem; border: 1.5px solid var(--line); background: var(--mist); border-radius: 12px; padding: .7rem .9rem; font-size: .93rem; }
.pause-panel { margin-top: .9rem; border: 1.5px solid var(--line); border-radius: 14px; padding: 1rem 1.1rem; background: #fff; }
.pause-panel h3 { font-family: var(--display); font-size: 1.1rem; margin-bottom: .35rem; }
.pause-panel .choices { margin-top: .6rem; }
.choice-wide { align-items: flex-start; }
.choice-wide input { margin-top: .2rem; flex: none; }
.choice-text { display: block; margin-top: .2rem; font-size: .88rem; color: var(--ink-soft); line-height: 1.45; }
.choice-text strong { color: var(--ink); }
.pause-small, .lev-note { font-size: .85rem; color: var(--ink-soft); margin-top: .5rem; }
.lev-note { text-align: center; }
.pause-panel .field-error:empty, #settings-form .field-error:empty, .form-ok:empty { display: none; }
.form-ok { font-size: .92rem; color: var(--tide); font-weight: 700; margin-top: .4rem; text-align: center; }

/* payments */
.pay-note { margin-top: 1rem; border: 1.5px solid rgba(184, 90, 18, .45); background: rgba(255, 122, 69, .08); border-radius: 12px; padding: .7rem .9rem; font-size: .93rem; }
.pay-wait { display: flex; align-items: center; justify-content: center; gap: .6rem; margin-top: 1.25rem; font-weight: 700; text-align: center; }
.spinner { width: 1.1rem; height: 1.1rem; flex: none; border-radius: 50%; border: 2.5px solid var(--line); border-top-color: var(--tide-bright); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation: none; } }
.pay-note p + p { margin-top: .4rem; }

/* USDT wallet payments */
.wallet-box { display: flex; flex-wrap: wrap; gap: 1.25rem; align-items: center; margin-top: 1rem; border: 1.5px solid var(--line); border-radius: 14px; padding: 1rem; background: #fff; }
.wallet-qr { width: 180px; height: 180px; flex: none; border-radius: 8px; }
.wallet-fields { flex: 1 1 260px; display: grid; gap: .7rem; margin: 0; min-width: 0; }
.wallet-fields dt { font-size: .74rem; font-weight: 800; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .07em; }
.wallet-fields dd { margin: .15rem 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; min-width: 0; }
.mono { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; }
.mono.big { font-size: 1.35rem; font-weight: 800; color: var(--ink); }
.mono.addr { word-break: break-all; font-size: .92rem; }
.copy-btn { font: inherit; font-size: .8rem; font-weight: 700; padding: .25rem .6rem; border-radius: 8px; border: 1.5px solid var(--line); background: var(--mist); color: var(--ink); cursor: pointer; }
.copy-btn:hover { border-color: var(--tide-bright); }
.tx-paste { margin-top: 1.25rem; border-top: 1px solid var(--line); padding-top: 1rem; }
.tx-paste summary { cursor: pointer; font-weight: 700; }
.tx-paste form { display: grid; gap: .45rem; margin-top: .75rem; }
.tx-paste label { font-weight: 700; font-size: .9rem; }
.tx-paste input, .flag-actions input { font: inherit; padding: .6rem .7rem; border: 1.5px solid var(--line); border-radius: 10px; width: 100%; box-sizing: border-box; }
.tx-paste .hint { font-size: .85rem; color: var(--ink-soft); }
.tx-paste .field-error:empty, .flag-card .field-error:empty { display: none; }
.tx-paste .form-ok { text-align: left; }
.tx-paste button { justify-self: start; }
.flag-actions { display: flex; flex-wrap: wrap; align-items: flex-end; gap: .5rem; margin-top: .75rem; }
.flag-actions label { flex: 1 1 220px; font-size: .85rem; font-weight: 700; display: grid; gap: .3rem; }
@media (max-width: 520px) { .wallet-box { justify-content: center; } }

/* My Bots: groups and cancelling */
.list-head { margin: 1.75rem 0 .6rem; }
.sub-list + .list-head { margin-top: 2rem; }
.cancel-confirm { margin-top: .75rem; border: 1.5px solid var(--line); background: var(--mist); border-radius: 12px; padding: .7rem .9rem; font-size: .93rem; }
.cancel-confirm .field-error:empty { display: none; }
.cancel-confirm .bot-actions { margin-top: .5rem; }

/* payments */
.head-actions { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.pay-table td { vertical-align: top; }
.pay-table .muted { font-size: .82rem; }
.btn-small { padding: .35rem .7rem; font-size: .82rem; white-space: nowrap; }
.statement-form { margin-bottom: 1.25rem; padding: 1rem 1.2rem; }
.statement-fields { display: flex; flex-wrap: wrap; gap: .75rem; align-items: flex-end; margin-top: .5rem; }
.statement-fields label, .csv-form label { display: grid; gap: .25rem; font-size: .85rem; font-weight: 700; }
.statement-fields input, .csv-form select { font: inherit; padding: .5rem .6rem; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; }
.statement-form .hint { font-size: .85rem; color: var(--ink-soft); margin-top: .5rem; }
.statement-form .field-error:empty { display: none; }
.pay-head { display: flex; flex-wrap: wrap; gap: .75rem; align-items: flex-end; justify-content: space-between; margin-bottom: .75rem; }
.csv-form { display: flex; flex-wrap: wrap; gap: .5rem; align-items: flex-end; }

/* support */
.support-form { display: grid; gap: .45rem; padding: 1.1rem 1.3rem; margin-bottom: 1.25rem; }
.support-form > label, .support-form #sp-addr-box > label { font-weight: 700; font-size: .92rem; margin-top: .35rem; }
.support-form input[type=text], .support-form select, .support-form textarea { width: 100%; font: inherit; padding: .6rem .75rem; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); }
.support-form textarea { resize: vertical; min-height: 6rem; }
.support-form input:focus-visible, .support-form select:focus-visible, .support-form textarea:focus-visible { outline: 3px solid rgba(20, 184, 166, .35); border-color: var(--tide); }
.support-form .check { display: flex; gap: .5rem; align-items: center; font-weight: 700; margin-top: .35rem; }
.support-form .field-error:empty, .support-form .hint:empty { display: none; }
#sp-addr-box { display: grid; gap: .35rem; }
.new-badge { font-size: .75rem; font-weight: 800; color: #fff; background: var(--tide); border-radius: 999px; padding: .15rem .55rem; }
.msg-list { list-style: none; padding: 0; margin: 0 0 1.25rem; display: grid; gap: .75rem; }
.msg { border: 1.5px solid var(--line); border-radius: 14px; padding: .8rem 1rem; background: #fff; max-width: 52rem; }
.msg-owner { background: var(--mist); border-color: rgba(20, 184, 166, .4); }
.msg-head { font-size: .85rem; color: var(--ink-soft); margin: 0 0 .35rem; }
.msg-body { white-space: pre-wrap; overflow-wrap: anywhere; margin: 0; }

/* owner admin */
.admin-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1rem; }
.admin-tile { display: grid; gap: .3rem; padding: 1.1rem 1.25rem; text-decoration: none; color: var(--ink); }
.admin-tile strong { font-family: var(--display); font-size: 2rem; line-height: 1.1; }
.admin-tile:hover { border-color: var(--tide); }
.attention-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.attention-list li { padding: .75rem 1rem; }
.admin-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .75rem; }
.admin-panel { margin-top: .75rem; border: 1.5px solid var(--line); background: var(--mist); border-radius: 12px; padding: .75rem .9rem; display: grid; gap: .45rem; font-size: .93rem; }
.admin-panel .check, .admin-fieldset .check { display: flex; gap: .5rem; align-items: center; }
.admin-row { display: flex; flex-wrap: wrap; gap: .6rem; align-items: flex-end; }
.admin-row label { display: grid; gap: .25rem; font-size: .85rem; font-weight: 700; }
.admin-row label.grow { flex: 1 1 14rem; }
.admin-row input { font: inherit; padding: .45rem .6rem; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; width: 100%; }
.admin-row input[type=number] { width: 6rem; }
.admin-fieldset { border: 1.5px solid var(--line); border-radius: 12px; padding: .6rem .9rem; display: grid; gap: .4rem; margin: .4rem 0 0; }
.admin-fieldset legend { font-weight: 700; font-size: .92rem; padding: 0 .3rem; }
.admin-search input[type=search] { font: inherit; padding: .5rem .6rem; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; min-width: 14rem; }
.admin-search { margin-bottom: 1rem; }
.field-error:empty { display: none; }

/* navigation: dropdowns and the sign-in button */
.nav-dd { position: relative; }
.nav-dd > button { font: inherit; color: var(--ink); font-weight: 700; font-size: .92rem; padding: .45rem .85rem; border-radius: 999px; border: 0; background: none; cursor: pointer; display: inline-flex; align-items: center; gap: .3rem; transition: background .15s; }
.nav-dd > button:hover, .nav-dd.open > button { background: rgba(20, 184, 166, .12); }
.nav-dd > button.current { background: var(--ink); color: #fff; }
.nav-dd .caret { font-size: .7rem; }
.dd-menu { display: none; position: absolute; top: calc(100% + 6px); left: 0; z-index: 60; min-width: 220px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 40px -18px rgba(10, 27, 46, .35); padding: .4rem; }
.nav-dd.right .dd-menu { left: auto; right: 0; }
.dd-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -8px; height: 8px; }
.dd-menu a, .dd-menu button { display: block; width: 100%; text-align: left; font: inherit; font-weight: 700; font-size: .92rem; color: var(--ink); background: none; border: 0; border-radius: 10px; padding: .55rem .75rem; text-decoration: none; cursor: pointer; }
.dd-menu a:hover, .dd-menu button:hover { background: rgba(20, 184, 166, .12); }
.nav-dd.open .dd-menu { display: block; }
@media (hover: hover) and (min-width: 701px) { .nav-dd:hover .dd-menu { display: block; } }
nav a.nav-cta { background: var(--ink); color: #fff; }
nav a.nav-cta:hover { background: #1B3352; color: #fff; }
nav a.nav-hidden { opacity: .7; border: 1px dashed var(--line); }
@media (max-width: 700px) {
  nav { width: 100%; }
  .nav-dd.open { flex-basis: 100%; }
  .nav-dd.open .dd-menu { position: static; box-shadow: none; margin-top: .3rem; }
}
/* homepage */
.hero-cta { margin-top: 1.6rem; }
.proof-card { display: grid; gap: .6rem; }
.proof-top { display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.proof-name { margin: 0; font-size: 1.35rem; }
.proof-name a { color: var(--ink); text-decoration: none; }
.proof-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; margin: 0; }
.proof-stats div { background: var(--mist); border-radius: 12px; padding: .55rem .7rem; }
.proof-stats dt { font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); }
.proof-stats dd { margin: .15rem 0 0; font-family: var(--display); font-weight: 700; font-size: 1.2rem; }
.proof-foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; font-size: .85rem; color: var(--ink-soft); margin: 0; }
.proof-foot a { font-weight: 700; }
.home-steps { margin-top: 1rem; }
.why-points { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.why-points li:nth-child(4)::before { background: linear-gradient(135deg, var(--sea), var(--tide-bright)); }
.why-points li:nth-child(5)::before { background: linear-gradient(135deg, #FF5E7A, var(--amber)); }
.risk-note { margin-top: 2.5rem; padding: 1rem 1.25rem; border: 1.5px solid var(--line); border-left: 4px solid var(--amber); border-radius: 14px; background: var(--panel); font-weight: 700; }
@media (max-width: 480px) { .proof-stats dd { font-size: 1.02rem; } .proof-stats div { padding: .5rem .55rem; } }
/* how it works */
.toc { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.25rem; }
.toc a { font-weight: 700; font-size: .9rem; padding: .35rem .8rem; border: 1.5px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--ink); background: #fff; }
.toc a:hover { background: rgba(20, 184, 166, .12); }
.prose h2[id] { scroll-margin-top: 1rem; }
.owner-only { border: 1.5px dashed var(--line); border-radius: 14px; padding: .75rem 1rem; margin: 1rem 0; }
.buy-link { white-space: nowrap; }
.support-note { margin-bottom: 1rem; }

/* ROI */
.roi-base { display: block; font-size: .72rem; color: var(--ink-soft); font-weight: 600; white-space: nowrap; }
.capital-form { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-top: .9rem; font-size: .88rem; }
.capital-form label { font-weight: 700; }
.capital-form input { width: 8rem; font: inherit; padding: .35rem .55rem; border: 1.5px solid var(--line); border-radius: 10px; }
/* Bot of the week */
.proof-stats dd.sub { font-family: var(--body); font-size: .72rem; font-weight: 600; color: var(--ink-soft); margin-top: .1rem; }

.home-steps { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); max-width: none; }
.badge { white-space: nowrap; }
.proof-top { flex-wrap: wrap; row-gap: .4rem; }
nav { align-items: center; }
table.bots td.act { white-space: nowrap; }

/* the original hero's dimensions: text column 498 px (405 on phones) */
.hero > div:first-child { min-height: 498px; display: flex; flex-direction: column; justify-content: center; }
@media (max-width: 860px) { .hero > div:first-child { min-height: 405px; } }

/* Live proof values stay on one line (the font shrinks a little instead) */
.proof-stats dd[data-fit] { white-space: nowrap; overflow: hidden; }
@media (max-width: 480px) { .hero .proof-stats div { padding: .45rem .4rem; } }
.cards.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 700px) { .cards.three { grid-template-columns: 1fr; } }
.kpis.rows3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 600px) { .kpis.rows3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* free trials */
.paper-note { font-size: .85rem; color: var(--ink-soft); border-left: 3px solid var(--amber); padding: .35rem .7rem; margin: .8rem 0; background: var(--mist); border-radius: 0 8px 8px 0; }
.trial-summary { margin-top: .6rem; font-size: 1.02rem; }
.trial-chart { margin-top: .8rem; }
.mini-kpis dd.sub { font-family: var(--body); font-size: .7rem; font-weight: 600; color: var(--ink-soft); margin: .1rem 0 0; }
.notice-box { margin-top: 1rem; padding: .8rem 1rem; border-radius: 12px; background: var(--mist); border: 1.5px solid var(--line); font-weight: 700; }
.try-link.try-full, .btn.btn-disabled { opacity: .55; cursor: default; pointer-events: none; }
.row-badge { display: flex; width: max-content; font-size: .66rem; padding: .08rem .45rem; margin: .25rem 0 0; }
.hold-line { caption-side: top; text-align: left; font-size: .88rem; color: var(--ink-soft); padding: 0 0 .5rem; }
