/* Wisify shop — dark ground, condensed uppercase display type, and the
   slanted blade of the logo as the recurring shape. */
:root {
  --ground: #0a0e13; --panel: #111822; --line: #223041; --ink: #eef3f7; --soft: #c6d3de; --muted: #a9bac9;
  --teal: #2d879e; --teal-bright: #5cc3db; --teal-light: #3aa6c0; --navy: #0f4068;
  --paper: #f4f2ee; --paper-ink: #0a0e13; --paper-soft: #3b4753; --paper-muted: #56616d; --paper-line: #d7d3ca;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif; --body: "Barlow", system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.55; }
img { max-width: 100%; }
a { color: inherit; }
.wrap { max-width: 1280px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.display { font-family: var(--display); font-weight: 800; text-transform: uppercase; line-height: .96; margin: 0; }
.kicker { margin: 0 0 10px; font-family: var(--display); font-weight: 700; font-size: 17px; letter-spacing: .22em; text-transform: uppercase; color: var(--teal-bright); }
.on-paper .kicker { color: var(--navy); }

/* Buttons: the slanted ends echo the logo's blade. */
.btn { display: inline-block; text-decoration: none; text-align: center; border: 0; cursor: pointer; font-family: var(--display); font-weight: 700; font-size: 21px; letter-spacing: .04em; text-transform: uppercase; padding: 16px 34px; background: #fff; color: var(--paper-ink); clip-path: polygon(14px 0, 100% 0, calc(100% - 14px) 100%, 0 100%); }
.btn:hover { background: var(--teal-bright); }
.btn-dark { background: var(--paper-ink); color: #fff; }
.btn-dark:hover { background: var(--navy); }
.btn-teal { background: var(--teal); color: #fff; font-size: 18px; padding: 12px 26px; }
.btn-teal:hover { background: var(--teal-light); }
.btn-line { clip-path: none; background: transparent; color: var(--ink); border: 2px solid var(--teal-bright); padding: 14px 30px; }
.btn-line:hover { background: rgba(92, 195, 219, .14); }
.btn[disabled] { background: #7d8791; color: #fff; cursor: not-allowed; }
.link { font-weight: 600; color: var(--teal-bright); }
.on-paper .link { color: var(--navy); }

.preview-bar { background: #ffde59; color: #1a1a1a; text-align: center; font-size: 14px; font-weight: 600; padding: 6px 16px; }
.market-bar { background: var(--navy); color: #fff; font-size: 14px; padding: 8px 24px; text-align: center; }
.site-header { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 40px; padding-top: 18px; padding-bottom: 18px; }
.site-header .logo img { height: 52px; width: auto; display: block; }
.site-nav { display: flex; flex-wrap: wrap; gap: 6px 30px; flex: 1 1 300px; font-weight: 500; font-size: 16px; }
.site-nav a, .header-actions a.plain { text-decoration: none; padding: 10px 0; }
.site-nav a:hover, .header-actions a.plain:hover { color: var(--teal-bright); }
.header-actions { display: flex; align-items: center; gap: 18px; }

/* Hero */
.hero { position: relative; overflow: hidden; }
.hero .blade { position: absolute; top: -40px; bottom: -40px; right: 6%; width: 34%; min-width: 300px; background: linear-gradient(160deg, var(--teal-light) 0%, var(--navy) 78%); clip-path: polygon(38% 0, 100% 0, 62% 100%, 0 100%); }
.hero .blade-2 { position: absolute; top: -40px; bottom: -40px; right: 31%; width: 9%; min-width: 80px; background: #121a24; clip-path: polygon(64% 0, 100% 0, 36% 100%, 0 100%); }
.hero-inner { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 40px; padding-top: 56px; padding-bottom: 72px; }
.hero-copy { flex: 1 1 560px; min-width: 0; }
.hero h1 { font-size: clamp(3.4rem, 7.6vw, 7.2rem); line-height: .92; }
.hero h1 em { font-style: italic; color: var(--teal-bright); }
.hero-sub { margin: 28px 0 0; max-width: 560px; font-size: 20px; color: var(--soft); }
.hero-actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-photo { flex: 1 1 380px; min-width: 0; display: flex; justify-content: center; }
.hero-photo .frame { width: min(100%, 400px); aspect-ratio: 74 / 119; background: var(--paper); clip-path: polygon(16% 0, 100% 0, 84% 100%, 0 100%); display: flex; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.stats { position: relative; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(10, 14, 19, .82); }
.stats dl { margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 18px 32px; padding-top: 22px; padding-bottom: 22px; }
.stats div { display: flex; align-items: baseline; gap: 12px; }
.stats dt { order: 2; color: var(--muted); font-size: 16px; }
.stats dd { margin: 0; font-family: var(--display); font-weight: 800; font-size: 46px; line-height: 1; }

.section { padding-top: 88px; padding-bottom: 48px; }
.section h2 { font-size: clamp(2.4rem, 4.6vw, 4.2rem); margin-bottom: 40px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.card { background: var(--paper); color: var(--paper-ink); display: flex; flex-direction: column; text-decoration: none; }
.card .photo { aspect-ratio: 4 / 3; overflow: hidden; display: flex; align-items: center; justify-content: center; background: #fff; }
.card .photo img { width: 100%; height: 100%; object-fit: contain; }
.card .body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card h3 { font-family: var(--display); font-weight: 800; font-size: 32px; line-height: 1; text-transform: uppercase; margin: 0; }
.card .foot { margin-top: auto; padding-top: 12px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.card .price { font-family: var(--display); font-weight: 700; font-size: 28px; }
.card .price small { font-family: var(--body); font-weight: 400; font-size: 14px; color: var(--paper-muted); }
.card .go { background: var(--navy); color: #fff; font-family: var(--display); font-weight: 700; font-size: 18px; letter-spacing: .04em; text-transform: uppercase; padding: 11px 22px; }
.card:hover .go { background: var(--teal); }

.on-paper { background: var(--paper); color: var(--paper-ink); }
.software { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; padding-top: 88px; padding-bottom: 88px; }
.software > div { flex: 1 1 440px; min-width: 0; }
.software h2 { font-size: clamp(2.4rem, 4.6vw, 4.2rem); margin-bottom: 22px; }
.software p.lead { margin: 0 0 30px; max-width: 520px; color: var(--paper-soft); font-size: 19px; }
.steps { margin: 0 0 34px; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px 28px; }
.steps li { border-top: 3px solid var(--navy); padding-top: 12px; color: var(--paper-soft); }
.steps b { font-family: var(--display); font-size: 24px; text-transform: uppercase; display: block; color: var(--paper-ink); }

.cta { position: relative; overflow: hidden; background: linear-gradient(120deg, var(--navy) 0%, var(--teal) 100%); }
.cta .wrap { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 48px; padding-top: 72px; padding-bottom: 72px; }
.cta h2 { font-size: clamp(2.6rem, 5vw, 4.6rem); max-width: 720px; color: #fff; }

.site-footer { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 32px 40px; padding-top: 56px; padding-bottom: 44px; font-size: 16px; }
.site-footer img { height: 56px; width: auto; display: block; margin-bottom: 14px; }
.site-footer p { margin: 0; color: var(--muted); }
.site-footer .col { display: flex; flex-direction: column; gap: 8px; }
.site-footer b { font-family: var(--display); font-size: 20px; letter-spacing: .08em; text-transform: uppercase; }
.site-footer a { color: var(--soft); }
.site-footer a.current { color: #fff; font-weight: 600; }

/* Product page (on paper, for long reading) */
.crumbs { font-size: 15px; color: var(--paper-muted); padding-top: 24px; padding-bottom: 22px; }
.crumbs a { color: var(--paper-muted); }
.product { display: flex; flex-wrap: wrap; gap: 40px 64px; align-items: flex-start; padding-bottom: 72px; }
.gallery { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.gallery .main { position: relative; background: #fff; aspect-ratio: 1 / 1; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.gallery .main::before { content: ""; position: absolute; top: 0; bottom: 0; left: 12%; width: 46%; background: linear-gradient(160deg, var(--teal-light) 0%, var(--navy) 80%); clip-path: polygon(38% 0, 100% 0, 62% 100%, 0 100%); opacity: .14; }
.gallery .main img { position: relative; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.gallery .thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.gallery .thumbs img { aspect-ratio: 1 / 1; width: 100%; object-fit: contain; background: #fff; display: block; }
.buy { flex: 1 1 400px; min-width: 0; }
.buy h1 { font-size: clamp(2.6rem, 5vw, 4.6rem); line-height: .94; margin-bottom: 16px; }
.buy .price { font-family: var(--display); font-weight: 800; font-size: 46px; line-height: 1; margin: 0 0 4px; }
.buy .price s { font-size: 24px; font-weight: 600; color: var(--paper-muted); margin-left: 10px; }
.buy .note { margin: 0 0 24px; color: var(--paper-muted); font-size: 15px; }
.buy fieldset { border: 0; padding: 0; margin: 0 0 20px; }
.buy legend { font-weight: 600; margin-bottom: 10px; padding: 0; }
.options { display: flex; flex-direction: column; gap: 8px; }
.options label { display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 2px solid #c9c5bc; background: #fff; padding: 11px 16px; font-weight: 600; cursor: pointer; }
.options label:has(input:checked) { border-color: var(--navy); }
.options label:has(input:disabled) { color: var(--paper-muted); cursor: not-allowed; }
.options input { margin-right: 10px; }
.buy-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 14px; }
.qty-label { display: block; font-weight: 600; margin-bottom: 8px; }
.stepper { display: flex; border: 2px solid #c9c5bc; background: #fff; }
.stepper button { width: 48px; min-height: 52px; border: 0; background: transparent; font: inherit; font-size: 24px; line-height: 1; cursor: pointer; color: inherit; }
.stepper button:hover { background: var(--paper); }
.stepper input { width: 56px; border: 0; border-left: 2px solid #c9c5bc; border-right: 2px solid #c9c5bc; text-align: center; font: inherit; font-weight: 600; background: transparent; color: inherit; -moz-appearance: textfield; appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.buy-row .btn { flex: 1 1 240px; min-height: 56px; font-size: 22px; }
.stock-line { display: flex; gap: 10px; margin: 0; padding-top: 18px; border-top: 1px solid var(--paper-line); }
.stock-line.out { color: #9b2c1f; font-weight: 600; }
.description { max-width: 820px; padding-bottom: 88px; }
.description h2 { font-size: 40px; margin-bottom: 18px; }
.description .rte { color: var(--paper-soft); }
.description .rte img { height: auto; }
.description .rte a { color: var(--navy); }

/* Cart */
.cart { padding-top: 40px; padding-bottom: 88px; max-width: 980px; }
.cart h1 { font-size: clamp(2.6rem, 5vw, 4.2rem); margin-bottom: 28px; }
.cart-line { display: grid; grid-template-columns: 96px 1fr auto; gap: 16px 20px; align-items: center; background: #fff; padding: 14px 18px; margin-bottom: 12px; }
.cart-line img { width: 96px; height: 96px; object-fit: contain; display: block; }
.cart-line .name { font-family: var(--display); font-weight: 800; font-size: 26px; line-height: 1.05; text-transform: uppercase; text-decoration: none; display: block; }
.cart-line .sub { color: var(--paper-muted); font-size: 15px; }
.cart-line .controls { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 8px; }
.cart-line .controls input[type=number] { width: 68px; height: 44px; border: 2px solid #c9c5bc; font: inherit; padding: 0 8px; background: #fff; color: inherit; }
.cart-line .controls button { min-height: 44px; padding: 0 14px; border: 2px solid #c9c5bc; background: #fff; font: inherit; font-weight: 600; cursor: pointer; color: inherit; }
.cart-line .controls button:hover { border-color: var(--navy); }
.cart-line .line-total { font-family: var(--display); font-weight: 700; font-size: 26px; white-space: nowrap; }
.cart-summary { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 32px; margin-top: 24px; padding-top: 20px; border-top: 2px solid var(--paper-ink); }
.cart-summary .total { font-family: var(--display); font-weight: 800; font-size: 40px; line-height: 1; }
.cart-summary .total small { display: block; font-family: var(--body); font-weight: 400; font-size: 15px; color: var(--paper-muted); margin-top: 6px; max-width: 420px; }
.notice { background: #fff; border-left: 0; padding: 12px 16px; margin-bottom: 18px; font-weight: 600; }
.soon { margin: 14px 0 0; color: var(--paper-muted); font-size: 15px; text-align: right; }

/* Cards with their own "add to cart" */
.card .photo-link { display: block; }
.card h3 a { text-decoration: none; }
.card h3 a:hover { color: var(--navy); }
.card .tag { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--paper-muted); }
.card .foot form { margin: 0; }
.card .actions { display: flex; align-items: stretch; gap: 8px; }
.card .go { text-decoration: none; display: inline-flex; align-items: center; }
.card .go:hover { background: var(--teal); }
.card .add { width: 48px; min-height: 46px; border: 0; cursor: pointer; background: var(--paper-ink); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.card .add:hover { background: var(--teal); }
.see-all { margin: 32px 0 0; text-align: center; }
.software .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.companions { padding-bottom: 64px; }
.companions h2 { font-size: 40px; margin-bottom: 20px; }
.companions .cards { grid-template-columns: repeat(auto-fill, minmax(260px, 320px)); }

/* Shop page: filters beside the grid, above it on a phone */
.shop { padding-top: 36px; padding-bottom: 88px; }
.shop h1 { font-size: clamp(2.6rem, 5vw, 4.2rem); margin-bottom: 6px; }
.shop .count { color: var(--paper-muted); margin: 0 0 26px; }
.shop-layout { display: flex; flex-wrap: wrap; gap: 28px 40px; align-items: flex-start; }
.filters { flex: 1 1 220px; max-width: 280px; display: flex; flex-direction: column; gap: 20px; }
.filters h2 { font-family: var(--display); font-weight: 700; font-size: 18px; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 8px; }
.filters ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.filters li a { display: flex; justify-content: space-between; gap: 10px; padding: 9px 12px; text-decoration: none; }
.filters li a:hover { background: #fff; }
.filters li a.on { background: var(--paper-ink); color: #fff; font-weight: 600; }
.filters li a span { color: var(--paper-muted); }
.filters li a.on span { color: #cfd8e0; }
.filters input[type=search], .filters select { width: 100%; height: 46px; border: 2px solid #c9c5bc; padding: 0 12px; font: inherit; background: #fff; color: inherit; }
.filters label { font-weight: 600; font-size: 15px; display: block; margin-bottom: 4px; }
.filters button { min-height: 46px; border: 0; cursor: pointer; background: var(--navy); color: #fff; font-family: var(--display); font-weight: 700; font-size: 18px; letter-spacing: .04em; text-transform: uppercase; width: 100%; }
.shop-results { flex: 999 1 560px; min-width: 0; }
.shop-results .cards { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }

/* Account, sign-in and text pages */
.narrow { max-width: 620px; padding-top: 48px; padding-bottom: 88px; }
.narrow h1, .account h1 { font-size: clamp(2.4rem, 4.6vw, 3.8rem); margin-bottom: 14px; }
.narrow .fields { margin: 18px 0; }
.muted { color: var(--paper-muted); }
.account { max-width: 860px; padding-top: 48px; padding-bottom: 88px; }
.account section { margin: 34px 0; }
.account h2 { font-family: var(--display); font-weight: 800; font-size: 28px; text-transform: uppercase; line-height: 1; margin: 0 0 14px; }
.orders { display: flex; flex-direction: column; gap: 10px; }
.order-row { display: flex; justify-content: space-between; gap: 20px; background: #fff; padding: 14px 18px; text-decoration: none; border: 2px solid transparent; }
.order-row:hover { border-color: var(--navy); }
.order-row .right { text-align: right; white-space: nowrap; }
.field.check { flex-direction: row; align-items: flex-start; gap: 10px; }
.field.check input { width: 22px; height: 22px; flex: none; margin-top: 2px; }
.field.check label { font-weight: 400; font-size: 16px; }
.textbutton { background: none; border: 0; padding: 10px 0; font: inherit; color: var(--navy); text-decoration: underline; cursor: pointer; }
.text-page { max-width: 780px; }
.text-page .rte { color: var(--paper-soft); }

/* Checkout */
.checkout { display: flex; flex-wrap: wrap; gap: 32px 56px; align-items: flex-start; padding-top: 40px; padding-bottom: 88px; }
.checkout h1 { font-size: clamp(2.6rem, 5vw, 4.2rem); flex-basis: 100%; }
.checkout form { flex: 999 1 480px; min-width: 0; }
.checkout h2 { font-family: var(--display); font-weight: 800; font-size: 28px; text-transform: uppercase; line-height: 1; margin: 0 0 14px; }
.fields { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px 12px; margin-bottom: 30px; }
.field { grid-column: span 6; display: flex; flex-direction: column; gap: 4px; }
.field.half { grid-column: span 3; }
.field.third { grid-column: span 2; }
.field label { font-weight: 600; font-size: 15px; }
.field input, .field select { height: 50px; border: 2px solid #c9c5bc; padding: 0 12px; font: inherit; background: #fff; color: inherit; width: 100%; }
.field input:focus, .field select:focus { outline: 0; border-color: var(--navy); }
.field .help { font-size: 14px; color: var(--paper-muted); }
.field .err, .form-error { color: #9b2c1f; font-weight: 600; font-size: 15px; }
.field.confirm { flex-direction: row; align-items: flex-start; gap: 10px; background: #fff7e0; border: 2px solid #e0b84a; padding: 12px 14px; }
.field.confirm input { width: 22px; height: 22px; flex: none; margin-top: 2px; }
.field.confirm label { font-weight: 600; }
.cep-status { font-size: 14px; color: var(--paper-muted); min-height: 1.4em; }
.field:has(.err) input, .field:has(.err) select { border-color: #9b2c1f; }
.summary { flex: 1 1 320px; background: #fff; padding: 20px 22px; }
.summary ul { list-style: none; margin: 0 0 14px; padding: 0; }
.summary li { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px solid var(--paper-line); }
.summary li b, .summary .sum span { white-space: nowrap; }
.summary .sum { display: flex; justify-content: space-between; font-family: var(--display); font-weight: 800; font-size: 30px; }
.summary .sub { color: var(--paper-muted); font-size: 15px; margin: 6px 0 0; }
.placed { max-width: 760px; padding-top: 48px; padding-bottom: 88px; }
.placed h1 { font-size: clamp(2.6rem, 5vw, 4.2rem); margin-bottom: 14px; }
.placed .status { display: inline-block; background: var(--navy); color: #fff; font-family: var(--display); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 14px; margin: 0 0 18px; }
.placed .summary { margin: 22px 0; }

@media (max-width: 640px) {
  .field.half, .field.third { grid-column: span 6; }
  .filters { max-width: none; flex-basis: 100%; }
  .filters ul { flex-direction: row; flex-wrap: wrap; gap: 6px; }
  .filters li a { background: #fff; padding: 8px 12px; }
  .checkout form .btn { width: 100%; }
  body { font-size: 16px; }
  .wrap { padding-left: 16px; padding-right: 16px; }
  .site-header .logo img { height: 42px; }
  .site-nav { order: 3; flex-basis: 100%; gap: 0 22px; }
  .site-header { gap: 4px 16px; padding-top: 10px; padding-bottom: 6px; }
  .header-actions { margin-left: auto; }
  .header-actions .btn-teal { display: none; } /* the demo button returns further down the page */
  .hero .blade, .hero .blade-2 { display: none; }
  .hero-inner { padding-top: 24px; padding-bottom: 0; gap: 20px; }
  .hero h1 { font-size: 3.5rem; }
  .hero-sub { font-size: 17px; margin-top: 18px; }
  .hero-actions { flex-direction: column; margin-top: 22px; }
  .hero-photo { position: relative; padding-top: 20px; }
  .hero-photo::before { content: ""; position: absolute; top: 0; bottom: 0; left: 16%; width: 70%; background: linear-gradient(160deg, var(--teal-light) 0%, var(--navy) 78%); clip-path: polygon(38% 0, 100% 0, 62% 100%, 0 100%); }
  .hero-photo .frame { position: relative; width: 214px; }
  .stats dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats div { flex-direction: column; gap: 0; }
  .stats dt { order: 0; font-size: 15px; }
  .stats dd { font-size: 38px; }
  .section { padding-top: 52px; padding-bottom: 24px; }
  .section h2, .software h2 { margin-bottom: 22px; }
  .software { padding-top: 48px; padding-bottom: 48px; gap: 24px; }
  .cta .wrap { padding-top: 44px; padding-bottom: 44px; }
  .btn { padding: 15px 20px; font-size: 20px; }
  .cta .btn, .software .btn { display: block; width: 100%; }
  .product { gap: 24px; padding-bottom: 44px; }
  .cart-line { grid-template-columns: 72px 1fr; }
  .cart-line img { width: 72px; height: 72px; }
  .cart-line .line-total { grid-column: 2; }
  .cart-summary .btn { width: 100%; }
  .soon { text-align: left; }
}
