/* Ocean Panel: landing page, sign in and sign up. Same colours and type as the panel (ops.css). */
:root {
	--bg: #eff8f9; --surface: #fff; --ink: #091d21; --ink-2: #2a494e; --muted: #527278; --line: #dcecee; --line-2: #c1dadf;
	--accent: #067387; --accent-2: #055f6f; --accent-soft: #d8f6fb; --success: #0e7a55; --success-soft: #e4f5ee;
	--danger: #bd2c3b; --danger-soft: #fcebed; --night: #071d21; --radius: 14px; --radius-sm: 10px;
	--shadow: 0 1px 2px rgba(9, 29, 33, .05), 0 8px 24px rgba(9, 29, 33, .06);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif; font-size: 15px; line-height: 1.6; color: var(--ink); background: var(--surface); -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-2); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-size: 18px; font-weight: 700; letter-spacing: -.02em; white-space: nowrap; }
.brand:hover { color: var(--ink); }
.brand img { display: block; width: auto; height: 38px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 22px; border: 1px solid var(--line-2); border-radius: var(--radius-sm); background: var(--surface); color: var(--ink); font-family: inherit; font-size: 15px; font-weight: 600; line-height: 1.2; cursor: pointer; transition: background .12s, border-color .12s, transform .12s; }
.btn:hover { background: var(--bg); color: var(--ink); }
.btn-main { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-main:hover { background: var(--accent-2); border-color: var(--accent-2); color: #fff; }
.btn-small { min-height: 38px; padding: 7px 16px; font-size: 14px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: default; }

/* ------------------------------------------------------------ landing */
.top { position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, .93); border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 70px; }
.top nav { display: flex; align-items: center; gap: 26px; font-size: 14px; font-weight: 500; }
.top nav a:not(.btn) { color: var(--ink-2); }
.top nav a:not(.btn):hover { color: var(--accent); }

.hero { padding: 84px 0 72px; background: radial-gradient(900px 480px at 85% -10%, #adf3ff 0, transparent 70%), radial-gradient(700px 420px at -10% 110%, #e0f4f6 0, transparent 70%), var(--surface); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 56px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 20px; padding: 6px 14px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-2); font-size: 13px; font-weight: 600; }
.hero h1 { font-size: 54px; font-weight: 800; line-height: 1.08; letter-spacing: -.035em; }
.hero h1 span { color: var(--accent); }
.hero p.intro { margin-top: 20px; max-width: 560px; font-size: 18px; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.terms { padding: 8px 26px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); list-style: none; }
.terms li { display: flex; align-items: center; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.terms li:last-child { border-bottom: 0; }
.ico { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex: none; border-radius: 12px; background: var(--accent-soft); color: var(--accent); font-size: 17px; }
.terms strong { display: block; font-size: 24px; line-height: 1.2; letter-spacing: -.02em; }
.terms small { display: block; color: var(--muted); font-size: 13px; }

section { padding: 84px 0; }
section.alt { background: var(--bg); }
.kicker { color: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
h2 { margin-top: 8px; font-size: 34px; line-height: 1.2; letter-spacing: -.025em; }
.cards { display: grid; gap: 18px; margin-top: 40px; }
.steps { grid-template-columns: repeat(4, 1fr); }
.why { grid-template-columns: repeat(3, 1fr); }
.card { padding: 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.card h3 { margin: 18px 0 8px; font-size: 17px; letter-spacing: -.01em; }
.card p { color: var(--muted); font-size: 14px; }
.card .num { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 13px; font-weight: 700; }
.regions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 36px; list-style: none; }
.regions li { padding: 9px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; font-size: 14px; font-weight: 500; }

.faq { max-width: 820px; }
details { margin-top: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); }
details:first-of-type { margin-top: 36px; }
summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; font-weight: 600; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; color: var(--accent); font-size: 22px; font-weight: 500; line-height: 1; }
details[open] summary::after { content: '\2212'; }
details p { padding: 0 22px 20px; color: var(--muted); font-size: 14px; }

.cta .box { padding: 60px 32px; border-radius: 24px; background: linear-gradient(135deg, #071d21, #034752); color: #fff; text-align: center; }
.cta h2 { margin: 0; }
.cta p { max-width: 520px; margin: 14px auto 0; color: #a4dbe5; }
.cta p a { color: #fff; font-weight: 600; }
.cta .actions { justify-content: center; }
.cta .btn:not(.btn-main) { background: transparent; border-color: rgba(255, 255, 255, .35); color: #fff; }
.cta .btn:not(.btn-main):hover { background: rgba(255, 255, 255, .1); }

footer { padding: 30px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
footer .links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
footer a { color: var(--ink-2); }
footer .sign { display: flex; align-items: center; gap: 16px; }
footer .sign img { width: 96px; height: auto; }

/* ------------------------------------------------------------ sign in / sign up */
body.auth { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); background: var(--bg); }
.aside { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding: 40px 48px; background: radial-gradient(600px 420px at 110% 0, #056374 0, transparent 70%), var(--night); color: #fff; }
/* the logo's dark lettering needs a light plate on the dark panel */
.aside .brand.plate { align-self: flex-start; padding: 14px 20px; background: #fff; border-radius: 20px; box-shadow: 0 12px 28px rgba(3, 16, 19, .35); }
.aside .brand img { width: 260px; max-width: 100%; height: auto; }
.aside h1 { max-width: 420px; font-size: 36px; line-height: 1.15; letter-spacing: -.03em; }
.aside ul { margin-top: 28px; list-style: none; }
.aside li { display: flex; gap: 12px; margin-top: 14px; color: #a4dbe5; }
.aside li i { margin-top: 5px; color: #00e8f8; }
.aside .foot-note { color: #6ba9b4; font-size: 13px; }
.aside .foot-note a { color: #a4dbe5; }
.main { display: flex; align-items: center; justify-content: center; padding: 40px 24px; }
.box-form { width: 100%; max-width: 420px; padding: 34px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); }
.box-form.wide { max-width: 640px; }
.box-form h2 { margin: 0; font-size: 24px; }
.box-form .sub { margin: 6px 0 24px; color: var(--muted); font-size: 14px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; margin-bottom: 6px; color: var(--ink-2); font-size: 13px; font-weight: 600; }
.field input { width: 100%; height: 44px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: var(--radius-sm); background: var(--surface); color: var(--ink); font: inherit; transition: border-color .12s, box-shadow .12s; }
.field input:focus, .captcha input:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(6, 115, 135, .15); }
.field small { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; }
.captcha { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 18px; padding: 10px 10px 10px 16px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: 14px; font-weight: 500; }
.captcha b { color: var(--accent-2); font-size: 16px; }
.captcha input { width: 88px; height: 40px; border: 1px solid var(--line-2); border-radius: 8px; background: var(--surface); text-align: center; font: inherit; font-size: 17px; font-weight: 700; }
.check { display: flex; gap: 10px; margin: 0 0 20px; color: var(--ink-2); font-size: 13px; line-height: 1.5; }
.check input { width: 16px; height: 16px; flex: none; margin-top: 2px; accent-color: var(--accent); }
.hp { position: absolute; left: -10000px; }
.msg, .error { display: none; margin-bottom: 18px; padding: 12px 16px; border-radius: var(--radius-sm); font-size: 14px; }
.error.show, .msg.error { display: block; background: var(--danger-soft); border: 1px solid #f2c6cb; color: #8c1f2b; }
.msg.ok { display: block; background: var(--success-soft); border: 1px solid #bde3d3; color: #09573c; }
.under { margin-top: 20px; color: var(--muted); font-size: 13.5px; text-align: center; }
.under + .under { margin-top: 6px; }
.under a { font-weight: 600; }

/* ------------------------------------------------------------ responsive */
@media (max-width: 940px) {
	.hero .wrap { grid-template-columns: 1fr; gap: 40px; }
	.steps, .why { grid-template-columns: repeat(2, 1fr); }
	.top nav a.link { display: none; }
	body.auth { display: flex; flex-direction: column; }
	.aside { padding: 20px 24px; }
	.aside .pitch, .aside .foot-note { display: none; }
	.main { align-items: flex-start; padding: 24px 14px 40px; }
}
@media (max-width: 580px) {
	.hero { padding: 52px 0 48px; }
	.hero h1 { font-size: 36px; }
	h2 { font-size: 27px; }
	section { padding: 56px 0; }
	.cta .box { padding: 40px 20px; }
	.steps, .why, .grid2 { grid-template-columns: 1fr; }
	.top nav { gap: 14px; }
	.box-form { padding: 24px 18px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* ------------------------------------------------------------ soft, rounded style (matches the panel) */
:root { --radius: 22px; --radius-sm: 14px; --shadow: 0 1px 2px rgba(9, 29, 33, .04), 0 14px 36px rgba(3, 69, 80, .09); }
.btn { min-height: 48px; padding: 11px 26px; border-radius: 999px; }
.btn-small { min-height: 40px; padding: 8px 20px; }
.btn-main { background: linear-gradient(135deg, #07889f, #055f6f); border-color: transparent; box-shadow: 0 8px 20px rgba(6, 115, 135, .3); }
.btn-main:hover { background: linear-gradient(135deg, #06798d, #044f5c); border-color: transparent; transform: translateY(-1px); }

.top { top: 14px; margin: 14px 0 0; background: none; border: 0; backdrop-filter: none; }
.top .wrap { max-width: 1172px; width: calc(100% - 32px); min-height: 68px; padding: 0 14px 0 22px; background: rgba(255, 255, 255, .95); border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow); }
.hero { margin-top: -96px; padding-top: 176px; }
.pill { padding: 8px 18px; }
.terms { padding: 14px; border: 0; border-radius: 30px; box-shadow: var(--shadow); }
.terms li { padding: 16px 18px; border-bottom: 0; border-radius: 20px; }
.terms li:first-child { background: linear-gradient(135deg, #07889f, #04505e); color: #fff; }
.terms li:first-child small { color: #98f0ff; }
.terms li:first-child .ico { background: rgba(255, 255, 255, .18); color: #fff; }
.ico { width: 50px; height: 50px; border-radius: 16px; background: linear-gradient(135deg, #caf7ff, #9cf0ff); }
section.alt { background: linear-gradient(180deg, #e0f7fb, #f2f9fb); }
section[id] { scroll-margin-top: 90px; }
.card { padding: 30px; border-color: rgba(255, 255, 255, .9); transition: transform .15s ease, box-shadow .15s ease; }
.card:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(3, 69, 80, .14); }
.card .num { width: 42px; height: 42px; background: linear-gradient(135deg, #07889f, #055f6f); box-shadow: 0 6px 14px rgba(6, 115, 135, .3); }
.regions li { padding: 11px 22px; box-shadow: var(--shadow); }
details { border-color: rgba(255, 255, 255, .9); border-radius: 18px; box-shadow: var(--shadow); }
summary { padding: 20px 26px; }
details p { padding: 0 26px 22px; }
.cta .box { border-radius: 34px; box-shadow: 0 24px 50px rgba(4, 80, 94, .25); }

body.auth { background: linear-gradient(180deg, #e0f7fb, #f2f9fb 480px); }
.aside { margin: 16px 0 16px 16px; border-radius: 30px; background: radial-gradient(600px 420px at 110% 0, #07889f 0, transparent 70%), linear-gradient(160deg, #071d21, #033b45); }
.box-form { padding: 42px; border-color: rgba(255, 255, 255, .9); border-radius: 30px; }
.field input { height: 48px; padding: 0 16px; background: #effbfd; border-color: #d3ecf0; }
.captcha { padding: 12px 12px 12px 20px; background: #e1faff; border-color: #d3ecf0; border-radius: 18px; }
.captcha input { border-radius: 12px; }

@media (max-width: 940px) {
	.aside { margin: 12px 12px 0; padding: 16px; border-radius: 22px; }
	.aside .brand.plate { align-self: center; padding: 10px 16px; border-radius: 16px; }
	.aside .brand img { width: 220px; }
}
@media (max-width: 580px) {
	.top { top: 8px; margin-top: 8px; }
	.top .wrap { width: calc(100% - 16px); padding: 0 8px 0 14px; }
	.hero { padding-top: 136px; }
	.box-form { padding: 26px 18px; border-radius: 24px; }
	.btn { padding: 10px 20px; }
	.btn-small { padding: 8px 14px; }
}
@media (prefers-reduced-motion: reduce) { .card, .btn { transform: none !important; } }
