/* Netflip site styles. Colors from canon/brand.md (Brandometry Brand Guide v1.0). White background, no navy. */
:root {
  --cyan: #00AEEF;   /* accents only, never small text */
  --jade: #00B26B;   /* accents only, never small text */
  --black: #000000;
  --blue: #00579D;   /* links, primary buttons */
  --green: #007239;  /* secondary buttons */
  --grey: #5F6369;   /* secondary text, captions */
  --line: #E3E6EA;
  --tint: #F5F8FA;
  --grad: linear-gradient(45deg, var(--cyan) 50%, var(--jade) 95%);
  --sans: "Ratio", Arial, "Liberation Sans", Helvetica, sans-serif;
  --serif: "Karmina", Georgia, "Times New Roman", serif;
  --max: 1120px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--black); font: 17px/1.6 var(--sans); }
a { color: var(--blue); }
a:hover { color: var(--green); }
img { max-width: 100%; height: auto; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 780px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 10; }

/* Header */
.site-header { position: sticky; top: 0; background: rgba(255,255,255,.97); z-index: 5; }
.bar { display: flex; align-items: center; gap: 28px; height: 72px; }
.logo img { display: block; height: 40px; width: auto; }
.nav { display: flex; gap: 22px; flex: 1; }
.nav a { color: var(--black); text-decoration: none; font-size: 15px; font-weight: 700; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--blue); }
.accent { height: 4px; background: var(--grad); }

/* Buttons */
.btn { display: inline-block; padding: 13px 22px; border-radius: 4px; font-weight: 700; font-size: 16px;
       text-decoration: none; border: 2px solid transparent; line-height: 1.2; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: #00467F; color: #fff; }
.btn-secondary { background: #fff; color: var(--green); border-color: var(--green); }
.btn-secondary:hover { background: var(--green); color: #fff; }
.btn-small { padding: 9px 14px; font-size: 14px; white-space: nowrap; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Sections */
section { padding: 64px 0; }
.hero { padding: 88px 0 72px; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -120px; top: 0; width: 360px; height: 100%;
               background: var(--grad); clip-path: polygon(45% 0, 100% 0, 100% 100%, 0 100%); opacity: .95; }
.hero .wrap { position: relative; z-index: 1; }
.hero .wrap > * { max-width: 760px; }
.section + .section { border-top: 1px solid var(--line); }
.band { background: var(--tint); }
.eyebrow { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--grey); margin: 0 0 12px; }
h1 { font-size: clamp(34px, 5vw, 54px); line-height: 1.1; margin: 0 0 18px; letter-spacing: -.01em; }
h2 { font-size: clamp(26px, 3.2vw, 36px); line-height: 1.2; margin: 0 0 16px; }
h3 { font-size: 19px; margin: 0 0 8px; }
.lead { font-size: 20px; color: var(--grey); max-width: 720px; }
.proof { list-style: none; padding: 0; margin: 32px 0 0; display: flex; flex-wrap: wrap; gap: 10px 28px; }
.proof li { font-weight: 700; padding-left: 16px; position: relative; }
.proof li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; background: var(--grad); }

/* Steps */
.steps { list-style: none; counter-reset: s; padding: 0; margin: 28px 0 0; display: grid;
         grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.steps li { counter-increment: s; border-top: 4px solid var(--black); padding-top: 14px; }
.steps li::before { content: counter(s, decimal-leading-zero); display: block; font: 700 14px var(--sans); color: var(--grey); margin-bottom: 6px; }
.step-title { display: block; font-weight: 700; margin-bottom: 4px; }

/* Tiles and cards */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin-top: 24px; }
.tile { display: block; border: 1px solid var(--line); border-radius: 6px; padding: 22px; color: var(--black);
        text-decoration: none; background: #fff; position: relative; }
.tile::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 4px; background: var(--grad); border-radius: 6px 6px 0 0; }
a.tile:hover { border-color: var(--blue); color: var(--black); }
.tile p { color: var(--grey); margin: 0 0 8px; font-size: 16px; }
.tile ul { margin: 8px 0 0; padding-left: 18px; color: var(--black); font-size: 15px; }
.tile .more { color: var(--blue); font-weight: 700; font-size: 15px; }
.tile.feature { grid-column: 1 / -1; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; margin-top: 24px; }
.card { border: 1px solid var(--line); border-radius: 6px; padding: 24px; }
.card-name { font-weight: 700; font-size: 19px; margin: 0 0 8px; }
.card-links a { margin-right: 16px; font-weight: 700; }
.checks { padding-left: 0; list-style: none; }
.checks li { padding-left: 28px; position: relative; margin: 10px 0; }
.checks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 14px; height: 8px;
                     border-left: 3px solid var(--green); border-bottom: 3px solid var(--green); transform: rotate(-45deg); }
.facts { padding-left: 20px; }
.facts li { margin: 10px 0; }
.links { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.links a { font-weight: 700; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { font-weight: 700; cursor: pointer; font-size: 18px; }
.faq details p { margin: 10px 0 0; }

/* Forms */
.form { display: grid; gap: 8px; max-width: 560px; margin-top: 20px; }
.form label { font-weight: 700; font-size: 15px; margin-top: 8px; }
.form input[type=text], .form textarea, .form select { font: inherit; padding: 11px 12px; border: 1px solid #9AA0A6; border-radius: 4px; }
.form .check { font-weight: 400; }
.form button { justify-self: start; margin-top: 12px; }
.small { font-size: 14px; color: var(--grey); }
.preview-note { color: var(--green); }

/* Prose (insights) */
.prose { padding: 56px 0 72px; }
.prose h1 { font-size: clamp(30px, 4vw, 44px); }
.prose h1 + p { font-family: var(--serif); font-size: 23px; line-height: 1.45; border-left: 4px solid var(--jade); padding-left: 18px; }
.prose h2 { font-size: 26px; margin-top: 44px; }
.prose table { width: 100%; border-collapse: collapse; margin: 28px 0; font-size: 15px; }
.prose caption { caption-side: bottom; text-align: left; color: var(--grey); font-size: 13px; padding-top: 10px; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose thead th { border-bottom: 2px solid var(--black); }
.prose td:nth-child(2) { font-family: var(--serif); font-weight: 700; }
.prose em { color: var(--grey); font-style: normal; font-size: 15px; }
.crumbs { font-size: 14px; color: var(--grey); padding-top: 18px; }
.crumbs a { color: var(--grey); }

/* Footer */
.site-footer { background: var(--black); color: #fff; padding: 56px 0 40px; margin-top: 0; }
.site-footer a { color: #fff; display: block; margin: 6px 0; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.site-footer .small { color: #C9CCD0; margin-top: 36px; }
.site-footer .small a { display: inline; text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.foot-h { font-weight: 700; margin: 0 0 8px; color: #fff; }

@media (max-width: 900px) {
  .bar { flex-wrap: wrap; height: auto; padding: 12px 24px; gap: 10px 16px; justify-content: space-between; }
  .nav { order: 3; flex-basis: 100%; overflow-x: auto; gap: 18px; padding-bottom: 4px; }
  .nav a { white-space: nowrap; }
  .hero { padding: 48px 0 44px; }
  .hero::after { top: auto; bottom: 0; right: 0; width: 100%; height: 6px; clip-path: none; }
  .actions .btn { flex: 1 1 auto; text-align: center; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

/* Photos (launch: free stock, credited) */
figure { margin: 0; }
.photo img, .hero-photo img, .door-photo img { display: block; width: 100%; height: auto; object-fit: cover; }
figcaption { font-size: 12px; color: var(--grey); margin-top: 6px; }
.hero.has-photo { padding: 64px 0 56px; }
.hero.has-photo::after { display: none; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.hero .hero-grid > * { max-width: none; }
.hero-photo { position: relative; }
.hero-photo img { border-radius: 6px; aspect-ratio: 4 / 3; }
.hero-photo::before { content: ""; position: absolute; left: -14px; bottom: 30px; width: 14px; height: 45%; background: var(--grad); border-radius: 3px 0 0 3px; }
.hero p:not(.lead):not(.eyebrow) { font-weight: 700; }

/* Two doors */
.doors { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 24px; }
.door { display: block; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; color: var(--black); text-decoration: none; background: #fff; }
.door:hover { border-color: var(--blue); color: var(--black); }
.door-photo img { aspect-ratio: 3 / 2; }
.door-photo figcaption { padding: 0 22px; }
.door-body { padding: 18px 22px 24px; }
.door-body p { color: var(--grey); }
.door .btn { margin-top: 6px; }

/* Forms */
.form input[type=email], .form input[type=tel], .form input[type=url] { font: inherit; padding: 11px 12px; border: 1px solid #9AA0A6; border-radius: 4px; }
.form input:focus, .form textarea:focus, .form select:focus { outline: 3px solid var(--cyan); outline-offset: 1px; }
.form-error { color: #C4161C; font-weight: 700; }
.updated { padding-top: 8px; padding-bottom: 24px; }

@media (max-width: 900px) {
  .hero-grid, .doors { grid-template-columns: 1fr; gap: 28px; }
  .hero-photo::before { display: none; }
}
.hero.has-photo h1 { font-size: clamp(32px, 4vw, 48px); }
