@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@500;600;700;800&display=swap');

:root {
  --navy: #06172c;
  --navy-2: #0b2647;
  --blue: #123f75;
  --cyan: #00d8e8;
  --cyan-dark: #008fa6;
  --ice: #edf9fb;
  --white: #ffffff;
  --ink: #10233d;
  --muted: #5b6d81;
  --line: #dbe7ed;
  --shadow: 0 30px 80px rgba(5, 27, 52, .16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: "DM Sans", sans-serif; font-size: 16px; line-height: 1.65; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 100; padding: .75rem 1rem; background: var(--white); color: var(--navy); }
.skip-link:focus { left: 1rem; top: 1rem; }
.notice { padding: .52rem 1rem; color: var(--navy); background: var(--cyan); text-align: center; font-size: .78rem; font-weight: 800; letter-spacing: .17em; }
.site-header { position: relative; z-index: 20; background: rgba(6, 23, 44, .97); }
.nav-shell { max-width: 1240px; min-height: 92px; margin: 0 auto; padding: 0 28px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; color: white; }
.brand img { width: 52px; height: 52px; object-fit: contain; }
.brand span { display: grid; line-height: 1; }
.brand strong { font-family: "Manrope", sans-serif; font-size: 1.18rem; letter-spacing: .17em; }
.brand small { margin-top: .46rem; color: #a9c4d4; font-size: .52rem; letter-spacing: .09em; }
nav { display: flex; align-items: center; gap: 2rem; }
nav a { color: #dfeef4; font-size: .92rem; font-weight: 600; }
nav a:hover, nav a:focus-visible { color: var(--cyan); }
.menu-button { display: none; border: 1px solid rgba(255,255,255,.35); padding: .55rem .8rem; color: white; background: transparent; border-radius: 6px; }

.hero { min-height: 690px; padding: 78px max(28px, calc((100vw - 1240px)/2)); display: grid; grid-template-columns: .88fr 1.12fr; align-items: center; gap: 2rem; overflow: hidden; background: radial-gradient(circle at 78% 45%, rgba(0,216,232,.15), transparent 30%), linear-gradient(135deg, #06172c 0%, #09213d 68%, #0a2e54 100%); }
.hero-copy { position: relative; z-index: 2; max-width: 610px; }
.eyebrow { margin: 0 0 1rem; color: var(--cyan-dark); font-size: .76rem; line-height: 1.4; font-weight: 800; letter-spacing: .22em; }
.hero .eyebrow, .feeding .eyebrow, .launch-panel .eyebrow { color: var(--cyan); }
h1, h2, h3 { font-family: "Manrope", sans-serif; line-height: 1.08; }
h1 { margin: 0; color: white; font-size: clamp(3rem, 5vw, 5.15rem); letter-spacing: -.052em; }
h1 span { color: #b7f5f8; }
.intro { max-width: 590px; margin: 1.6rem 0 1.8rem; color: #c7d8e4; font-size: 1.14rem; }
.product-facts { display: flex; flex-wrap: wrap; gap: .6rem; margin: 0 0 2rem; }
.product-facts span { padding: .55rem .8rem; color: #dffcff; border: 1px solid rgba(0,216,232,.35); border-radius: 999px; font-size: .72rem; font-weight: 800; letter-spacing: .08em; }
.coming-soon, .launch-panel button { min-width: 210px; padding: 1rem 1.4rem; border: 1px solid #69f7ff; border-radius: 6px; color: var(--navy); background: var(--cyan); font-weight: 800; letter-spacing: .13em; opacity: 1; cursor: default; box-shadow: 0 12px 35px rgba(0,216,232,.18); }
.availability { margin: .8rem 0 0; color: #91aabe; font-size: .84rem; }
.hero-product { position: relative; display: grid; place-items: center; min-width: 0; }
.hero-product img { position: relative; z-index: 2; width: min(760px, 110%); filter: drop-shadow(0 34px 28px rgba(0,0,0,.36)); }
.glow { position: absolute; width: 72%; aspect-ratio: 1; border-radius: 50%; background: rgba(0,216,232,.12); filter: blur(45px); }

.benefits { padding: 100px max(28px, calc((100vw - 1240px)/2)); background: #fff; }
.section-heading { max-width: 720px; margin-bottom: 3rem; }
h2 { margin: 0 0 1rem; color: var(--navy); font-size: clamp(2.1rem, 3.5vw, 3.5rem); letter-spacing: -.038em; }
.benefit-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.benefit-grid article { min-height: 250px; padding: 2rem 1.6rem 1rem 0; border-right: 1px solid var(--line); }
.benefit-grid article + article { padding-left: 1.6rem; }
.benefit-grid article:last-child { border-right: 0; }
.benefit-grid span { color: var(--cyan-dark); font-size: .74rem; font-weight: 800; }
.benefit-grid h3 { margin: 3.5rem 0 .8rem; color: var(--navy); font-size: 1.35rem; }
.benefit-grid p { margin: 0; color: var(--muted); font-size: .94rem; }

.nutrition { display: grid; grid-template-columns: 1.08fr .92fr; align-items: stretch; background: var(--ice); }
.nutrition-image { min-height: 650px; display: grid; place-items: center; padding: 55px 32px; background: linear-gradient(145deg, #dff4f7, #f8fcfd); overflow: hidden; }
.nutrition-image img { width: min(820px, 105%); filter: drop-shadow(0 20px 24px rgba(6,23,44,.13)); }
.nutrition-copy { padding: 85px max(45px, calc((100vw - 1240px)/2)); padding-left: clamp(45px, 6vw, 105px); }
.nutrition-copy > p:not(.eyebrow):not(.fine-print) { max-width: 600px; color: var(--muted); font-size: 1.08rem; }
.nutrient-columns { margin-top: 2.3rem; display: grid; gap: .25rem; }
.nutrient-columns div { display: grid; grid-template-columns: 130px 1fr; gap: 1rem; padding: 1rem 0; border-top: 1px solid #cbdde3; }
.nutrient-columns h3, .nutrient-columns p { margin: 0; }
.nutrient-columns h3 { color: var(--navy); font-size: 1rem; }
.nutrient-columns p { color: var(--muted); font-size: .91rem; }
.fine-print { color: #718396; font-size: .8rem; }

.feeding { padding: 100px max(28px, calc((100vw - 1240px)/2)); color: #d5e5ef; background: linear-gradient(135deg, #06172c, #0a2d52); }
.section-heading.light h2 { color: white; }
.section-heading.light > p:last-child { color: #b4c9d7; }
.feeding-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid rgba(123,226,235,.3); border-radius: 10px; overflow: hidden; }
.feeding-grid div { padding: 1.5rem 1.6rem; border-right: 1px solid rgba(123,226,235,.3); }
.feeding-grid div:last-child { border-right: 0; }
.feeding-grid strong, .feeding-grid span { display: block; }
.feeding-grid strong { margin-bottom: .45rem; color: #a9bdca; font-size: .78rem; letter-spacing: .1em; }
.feeding-grid span { color: white; font-family: "Manrope", sans-serif; font-size: 1.6rem; font-weight: 700; }
.storage { max-width: 920px; margin: 1.6rem 0 0; color: #91aabe; font-size: .84rem; }

.about { max-width: 1100px; margin: 0 auto; padding: 105px 28px; display: grid; grid-template-columns: 280px 1fr; align-items: center; gap: 6rem; }
.about-mark { width: 250px; }
.about p:not(.eyebrow) { color: var(--muted); font-size: 1.08rem; }
.launch-panel { padding: 85px 28px; color: white; background: var(--navy); text-align: center; }
.launch-panel h2 { max-width: 800px; margin: 0 auto 1rem; color: white; }
.launch-panel p:not(.eyebrow) { max-width: 650px; margin: 0 auto 1.8rem; color: #b8ccda; }

footer { padding: 60px 28px 35px; color: #8192a6; background: #030d1a; text-align: center; }
.footer-brand { display: inline-flex; }
footer > p { margin: .7rem 0; }
.footer-links { margin: 2rem 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem 2rem; }
.footer-links a { color: #c7d4dd; font-size: .9rem; }
.footer-links a:hover { color: var(--cyan); }
.copyright { font-size: .78rem; }

@media (max-width: 950px) {
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 70px; text-align: center; }
  .hero-copy { margin: 0 auto; }
  .product-facts { justify-content: center; }
  .hero-product { margin-top: 2rem; }
  .benefit-grid { grid-template-columns: repeat(2, 1fr); }
  .benefit-grid article:nth-child(2) { border-right: 0; }
  .benefit-grid article:nth-child(n+3) { border-top: 1px solid var(--line); }
  .nutrition { grid-template-columns: 1fr; }
  .nutrition-image { min-height: auto; }
  .nutrition-copy { padding: 75px 35px; }
  .feeding-grid { grid-template-columns: repeat(2, 1fr); }
  .feeding-grid div:nth-child(2) { border-right: 0; }
  .feeding-grid div:nth-child(n+3) { border-top: 1px solid rgba(123,226,235,.3); }
}

@media (max-width: 720px) {
  .nav-shell { min-height: 76px; padding: 0 20px; }
  .brand img { width: 44px; height: 44px; }
  .brand strong { font-size: 1rem; }
  .brand small { display: none; }
  .menu-button { display: block; }
  nav { position: absolute; top: 100%; left: 0; right: 0; display: none; padding: 1.2rem 20px 1.5rem; background: var(--navy); border-top: 1px solid rgba(255,255,255,.1); flex-direction: column; align-items: flex-start; gap: 1rem; }
  nav.open { display: flex; }
  .hero { padding: 58px 20px 48px; }
  h1 { font-size: clamp(2.55rem, 12vw, 4rem); }
  .benefits, .feeding { padding: 75px 20px; }
  .benefit-grid { grid-template-columns: 1fr; }
  .benefit-grid article, .benefit-grid article + article { min-height: auto; padding: 1.5rem 0; border-right: 0; border-top: 1px solid var(--line); }
  .benefit-grid h3 { margin: 1.6rem 0 .5rem; }
  .nutrition-image { padding: 40px 15px; }
  .nutrition-copy { padding: 65px 20px; }
  .nutrient-columns div { grid-template-columns: 1fr; gap: .35rem; }
  .feeding-grid { grid-template-columns: 1fr; }
  .feeding-grid div { border-right: 0; border-top: 1px solid rgba(123,226,235,.3); }
  .feeding-grid div:first-child { border-top: 0; }
  .about { padding: 75px 20px; grid-template-columns: 1fr; gap: 2.5rem; text-align: center; }
  .about-mark { width: 175px; margin: 0 auto; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Interior pages and forms */
.interior-main { min-height: 70vh; background: linear-gradient(180deg, #edf9fb 0, #fff 420px); }
.page-banner { padding: 66px max(20px, calc((100vw - 1040px)/2)) 44px; color: white; background: linear-gradient(135deg, var(--navy), #0a315a); }
.page-banner h1 { max-width: 780px; font-size: clamp(2.5rem, 5vw, 4.35rem); }
.page-banner p:not(.eyebrow) { max-width: 690px; color: #c3d7e3; font-size: 1.08rem; }
.test-banner { padding: .72rem 1rem; color: #3d3000; background: #ffe68a; text-align: center; font-size: .84rem; font-weight: 800; letter-spacing: .08em; }
.page-shell { width: min(1040px, calc(100% - 40px)); margin: 0 auto; padding: 52px 0 85px; }
.page-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 2.2rem; align-items: start; }
.form-card, .side-card, .dashboard-card { padding: clamp(24px, 4vw, 42px); border: 1px solid var(--line); border-radius: 12px; background: white; box-shadow: 0 18px 50px rgba(6,23,44,.08); }
.side-card { padding: 28px; position: sticky; top: 24px; }
.form-card h2, .side-card h2, .dashboard-card h2 { font-size: 1.55rem; }
.form-card > p, .side-card > p { color: var(--muted); }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; }
.field { display: grid; gap: .45rem; }
.field.full { grid-column: 1 / -1; }
.field label, .field legend { color: var(--navy); font-size: .9rem; font-weight: 700; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: .75rem .85rem; border: 1px solid #aebfca; border-radius: 6px; color: var(--ink); background: white; font: inherit; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--cyan-dark); outline: 3px solid rgba(0,143,166,.16); }
.field-help { margin: 0; color: var(--muted); font-size: .8rem; }
.checkbox-line { display: flex; align-items: flex-start; gap: .7rem; margin: 1.2rem 0; color: var(--muted); font-size: .88rem; }
.checkbox-line input { margin-top: .35rem; }
.primary-button { min-width: 190px; padding: .9rem 1.2rem; border: 0; border-radius: 6px; color: var(--navy); background: var(--cyan); font-weight: 800; letter-spacing: .08em; cursor: pointer; }
.primary-button:hover { background: #69f5ff; }
.primary-button:disabled { color: #73818c; background: #dce5e9; cursor: not-allowed; }
.form-status { min-height: 1.5rem; margin: 1rem 0 0; font-size: .9rem; font-weight: 700; }
.form-status.error { color: #a52727; }
.form-status.success { color: #087451; }
.form-section { margin-top: 2rem; padding-top: 1.8rem; border-top: 1px solid var(--line); }
.form-section h3 { margin: 0 0 1.2rem; font-size: 1.15rem; }
.summary-list { display: grid; gap: .8rem; margin: 1.2rem 0; }
.summary-row { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: .8rem; border-bottom: 1px solid var(--line); }
.summary-row span { color: var(--muted); }
.summary-row strong { color: var(--navy); text-align: right; }
.secure-note { color: var(--muted); font-size: .8rem; }
.text-link { color: var(--cyan-dark); font-weight: 700; text-decoration: underline; text-underline-offset: .2em; }
.login-shell { width: min(540px, calc(100% - 40px)); margin: 0 auto; padding: 60px 0 95px; }
.dashboard-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.dashboard-card { padding: 28px; box-shadow: none; }
.dashboard-card.wide { grid-column: span 2; }
.metric { display: block; margin-top: 1rem; color: var(--navy); font-family: "Manrope", sans-serif; font-size: 2rem; font-weight: 800; }
.dashboard-list { width: 100%; border-collapse: collapse; }
.dashboard-list th, .dashboard-list td { padding: .8rem .5rem; border-bottom: 1px solid var(--line); text-align: left; font-size: .88rem; }
.dashboard-list th { color: var(--muted); }
.details-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin: 1rem 0 0; }
.details-list.single { grid-template-columns: 1fr; }
.details-list div { padding: .8rem 0; border-bottom: 1px solid var(--line); }
.details-list div:nth-child(odd):not(.full) { padding-right: 1rem; }
.details-list .full { grid-column: 1 / -1; }
.details-list dt { color: var(--muted); font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.details-list dd { margin: .25rem 0 0; color: var(--navy); overflow-wrap: anywhere; }
.support-metric { font-size: 1.35rem; }
.primary-button.compact { min-width: 0; margin-top: 1rem; font-size: .72rem; }
.table-scroll { overflow-x: auto; }
.account-link { padding: .6rem .9rem; border: 1px solid rgba(255,255,255,.45); border-radius: 5px; color: white; background: transparent; font: inherit; font-size: .78rem; font-weight: 800; letter-spacing: .08em; cursor: pointer; }
.account-link:hover { border-color: var(--cyan); color: var(--cyan); }
.inline-button { display: inline-block; text-decoration: none; }

@media (max-width: 820px) {
  .page-grid { grid-template-columns: 1fr; }
  .side-card { position: static; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .dashboard-card.wide { grid-column: auto; }
  .details-list { grid-template-columns: 1fr; }
  .details-list .full { grid-column: auto; }
}

@media (max-width: 600px) {
  .field-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .page-shell { width: min(100% - 28px, 1040px); }
  .form-card, .side-card { padding: 22px 18px; }
}

/* Secure order administration */
.admin-banner { background: linear-gradient(125deg, #06172c, #102f55 70%, #084e63); }
.admin-shell { width: min(1320px, calc(100% - 40px)); margin: 0 auto; padding: 36px 0 90px; }
.admin-metrics { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; margin-bottom: 1.2rem; }
.admin-metrics article { min-height: 122px; padding: 22px; border: 1px solid var(--line); border-radius: 10px; background: white; box-shadow: 0 12px 35px rgba(6,23,44,.06); }
.admin-metrics span { display: block; min-height: 2.8rem; color: var(--muted); font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.admin-metrics strong { color: var(--navy); font-family: "Manrope", sans-serif; font-size: 1.55rem; }
.admin-orders-card { margin-bottom: 1.2rem; }
.admin-filters { display: grid; grid-template-columns: minmax(260px, 1fr) 220px auto; align-items: end; gap: 1rem; }
.admin-filters .primary-button { min-height: 48px; }
.admin-order-table td { vertical-align: middle; }
.admin-order-table th { white-space: nowrap; }
.table-action { padding: .52rem .75rem; border: 1px solid var(--blue); border-radius: 5px; color: var(--blue); background: white; font: inherit; font-size: .74rem; font-weight: 800; cursor: pointer; }
.table-action:hover, .table-action:focus-visible { color: white; background: var(--blue); }
.admin-pagination { display: flex; justify-content: flex-end; align-items: center; gap: 1rem; margin-top: 1.25rem; }
.account-link.dark { border-color: #9cafbd; color: var(--navy); background: white; }
.account-link.dark:hover { border-color: var(--cyan-dark); color: var(--cyan-dark); }
.account-link.dark:disabled { opacity: .4; cursor: not-allowed; }
.admin-detail { scroll-margin-top: 20px; }
.admin-detail-heading { display: flex; justify-content: space-between; align-items: start; gap: 1rem; }
.admin-detail-heading h2 { margin-top: 0; }
.admin-detail-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(300px, .7fr); gap: 2.5rem; }
.admin-update-form { padding: 24px; border: 1px solid var(--line); border-radius: 8px; background: var(--ice); }
.admin-update-form .field + .field { margin-top: 1.1rem; }
.admin-update-form .primary-button { width: 100%; margin-top: 1.4rem; }
.preserve-lines, [data-detail-contact], [data-detail-payment], [data-detail-support], [data-detail-emails] { white-space: pre-line; }

@media (max-width: 1050px) {
  .admin-metrics { grid-template-columns: repeat(3, 1fr); }
  .admin-detail-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .admin-shell { width: min(100% - 28px, 1320px); }
  .admin-metrics { grid-template-columns: repeat(2, 1fr); }
  .admin-filters { grid-template-columns: 1fr; }
  .admin-pagination { justify-content: space-between; }
}

@media (max-width: 430px) {
  .admin-metrics { grid-template-columns: 1fr; }
}

/* Customer information and legal pages */
.legal-banner { background: linear-gradient(125deg, #06172c, #123b60 68%, #08758a); }
.legal-shell { width: min(1080px, calc(100% - 40px)); margin: 0 auto; padding: 34px 0 90px; }
.legal-index { display: flex; flex-wrap: wrap; gap: .65rem; margin-bottom: 1.2rem; }
.legal-index a { padding: .68rem .9rem; border: 1px solid var(--line); border-radius: 999px; color: var(--navy); background: white; font-size: .82rem; font-weight: 800; text-decoration: none; }
.legal-index a:hover, .legal-index a:focus-visible, .legal-index a[aria-current="page"] { border-color: var(--cyan-dark); color: white; background: var(--cyan-dark); }
.legal-card { padding: clamp(24px, 5vw, 56px); border: 1px solid var(--line); border-radius: 12px; background: white; box-shadow: 0 16px 44px rgba(6,23,44,.07); }
.legal-card h2 { margin: 2.1rem 0 .7rem; color: var(--navy); font-family: "Manrope", sans-serif; font-size: clamp(1.2rem, 2vw, 1.55rem); }
.legal-card h2:first-child { margin-top: 0; }
.legal-card h3 { margin: 1.4rem 0 .5rem; color: var(--navy); }
.legal-card p, .legal-card li { color: var(--muted); line-height: 1.72; }
.legal-card ul, .legal-card ol { padding-left: 1.35rem; }
.legal-card a, .checkbox-line a { color: var(--blue); font-weight: 700; }
.legal-card address { padding: 1rem 1.2rem; border-left: 4px solid var(--cyan); color: var(--navy); background: var(--ice); font-style: normal; line-height: 1.7; }
.legal-table { width: 100%; margin: 1rem 0; border-collapse: collapse; }
.legal-table th, .legal-table td { padding: .8rem; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.legal-table th { color: var(--navy); background: var(--ice); }
.cancellation-form { padding: 1.2rem; border: 1px dashed #93a9b8; border-radius: 8px; background: #fbfdfe; }

@media (max-width: 600px) {
  .legal-shell { width: min(100% - 28px, 1080px); }
  .legal-card { padding: 24px 18px; }
  .legal-index a { flex: 1 1 calc(50% - .65rem); text-align: center; }
  .legal-table { display: block; overflow-x: auto; }
}
