/* Palette from Documents/frugal/Frugal/App/FrugalDesign.swift. */
:root {
  font-family:-apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;
  --paper:#f4f4f5;
  --ink:#1f2124;
  --secondary:#787d85;
  --blue:#3d6eb3;
  --green:#30966b;
  --hero-deep:#1c3b66;
  --hero-blue:#4578bf;
  --hero-mist:#a8c9f0;
  --phone-scale:1;
  color:var(--ink);
  background:var(--paper);
  scroll-behavior:smooth;
  font-synthesis:none;
  text-rendering:optimizeLegibility;
  -webkit-font-smoothing:antialiased;
}

* {
  box-sizing:border-box;
}

body {
  margin:0;
  min-width:320px;
}

h1,h2,h3,p,figure {
  margin:0;
}

a {
  color:inherit;
  text-decoration:none;
}

button {
  font:inherit;
}

button,a {
  -webkit-tap-highlight-color:transparent;
}

button {
  cursor:pointer;
}

button:disabled {
  cursor:default;
}

a:focus-visible,button:focus-visible {
  outline:2px solid var(--blue);
  outline-offset:6px;
}

::selection {
  background:#a8c9f0;
  color:var(--ink);
}

.icon {
  width:22px;
  height:22px;
  flex-shrink:0;
}

.apple-icon {
  width:19px;
  height:23px;
  flex-shrink:0;
}

.frugal-emblem {
  width:32px;
  height:32px;
  flex-shrink:0;
  display:block;
  object-fit:contain;
  border-radius:22%;
}

.frugal-wordmark {
  display:block;
  width:2.213867em;
  height:0.895020em;
  flex-shrink:0;
}

.skip-link {
  position:fixed;
  top:-70px;
  left:18px;
  z-index:50;
  padding:14px 20px;
  background:white;
  color:var(--ink);
  border-radius:30px;
}

.skip-link:focus {
  top:14px;
}

/* The hero is a full, independent section. Scrolling screens start below it. */
.site-header {
  position:fixed;
  inset:20px 0 auto;
  z-index:20;
  padding:0 20px;
  pointer-events:none;
}

.nav-shell {
  width:min(800px,100%);
  height:58px;
  margin:auto;
  padding:0 12px 0 24px;
  border:1px solid #ffffff50;
  border-radius:50px;
  background:#ffffff12;
  color:#fff;
  backdrop-filter:blur(22px);
  -webkit-backdrop-filter:blur(22px);
  display:flex;
  align-items:center;
  gap:30px;
  pointer-events:auto;
  transition:background .35s,color .35s,border-color .35s;
}

.brand {
  font-size:26px;
  font-weight:400;
  letter-spacing:-1px;
  display:inline-flex;
  align-items:center;
  gap:9px;
}

.nav-how {
  margin-left:auto;
  font-size:12px;
  opacity:.9;
  white-space:nowrap;
}

.nav-how:hover {
  opacity:1;
}

.nav-download {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:13px;
  padding:13px 19px;
  font-size:12px;
  border-radius:30px;
  background:#ffffff12;
  border:1px solid #ffffff48;
  transition:background .2s;
  white-space:nowrap;
}

.nav-download:hover {
  background:#ffffff24;
}

.nav-download>.icon {
  width:15px;
  height:15px;
}

.site-header.on-light .nav-shell {
  background:#ffffffd4;
  color:var(--ink);
  border-color:#d9dfe8;
  box-shadow:0 4px 25px #28374905;
}

.site-header.on-light .nav-download {
  background:#f1f4f8;
  border-color:#e3e8f0;
  color:var(--blue);
}

.button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  min-height:54px;
  padding:15px 27px;
  border:1px solid #fff;
  border-radius:50px;
  background:#fff;
  color:var(--ink);
  font-size:14px;
  font-weight:600;
  box-shadow:0 6px 25px #142c4f0a;
  transition:transform .2s,box-shadow .2s;
}

.button:hover:not(:disabled) {
  transform:translateY(-2px);
  box-shadow:0 9px 30px #142c4f18;
}

.button:disabled {
  opacity:1;
}

.hero {
  position:relative;
  isolation:isolate;
  height:100svh;
  min-height:680px;
  overflow:hidden;
  background:linear-gradient(180deg,var(--hero-deep) 0%,var(--hero-blue) 37%,var(--hero-mist) 70%,var(--paper) 100%);
  text-align:center;
  color:#fff;
}

.hero-copy {
  position:relative;
  z-index:2;
  padding:clamp(160px,23svh,230px) 24px 0;
}

.hero h1 {
  font-size:clamp(62px,8.5vw,110px);
  font-weight:500;
  line-height:1.06;
  letter-spacing:-.065em;
}

.hero h1>span {
  color:#fff;
}

.hero-copy>p {
  font-size:18px;
  line-height:1.6;
  color:#ffffffd9;
  letter-spacing:-.02em;
  margin-top:21px;
}

.hero-copy>.button {
  margin-top:29px;
}

.hero-product {
  position:absolute;
  top:57%;
  left:50%;
  width:248px;
  height:264px;
  transform:translateX(-50%) rotate(-8deg);
  z-index:1;
}

.headphone-art {
  display:block;
  width:100%;
  height:100%;
  overflow:visible;
}

.hero-product::after {
  content:'';
  position:absolute;
  left:12%;
  right:0;
  bottom:-11px;
  height:22px;
  z-index:-1;
  background:#18345338;
  border-radius:50%;
  filter:blur(12px);
  transform:rotate(8deg);
}

.product-orbit {
  position:absolute;
  inset:-20% -55%;
  border-radius:50%;
  background:radial-gradient(ellipse,#eef5ff35,transparent 62%);
}

.hero-price {
  position:absolute;
  right:-78px;
  bottom:44px;
  display:flex;
  align-items:center;
  gap:13px;
  padding:14px 21px;
  border-radius:40px;
  background:#ffffff85;
  border:1px solid #ffffffb0;
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
  transform:rotate(8deg);
  box-shadow:0 12px 28px #1c3b6610;
}

.hero-price>s {
  font-size:14px;
  color:#6f7e91;
  font-weight:400;
}

.hero-price>b {
  font-size:25px;
  font-weight:500;
  letter-spacing:-.04em;
  color:#1c3b66;
}

.hero-price>.icon {
  width:17px;
  height:17px;
  color:#3d6eb3;
}

.scroll-link {
  position:absolute;
  bottom:24px;
  left:50%;
  transform:translateX(-50%);
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:10px;
  color:#526e92;
  font-size:8px;
  letter-spacing:.2em;
  white-space:nowrap;
}

.scroll-link>.icon {
  height:17px;
  width:17px;
}

.phone {
  position:absolute;
  top:0;
  left:0;
  width:306px;
  height:620px;
  padding:6px;
  border-radius:47px;
  background:linear-gradient(145deg,#6c7683,#1c2027 23%,#3c444f 65%,#86909b);
  border:1px solid #b3c2d561;
  box-shadow:0 38px 65px -20px #0009,0 0 0 1px #080d1680,inset 0 0 0 2px #090e16;
  transform:scale(var(--phone-scale));
  transform-origin:top left;
  isolation:isolate;
}

.phone::before,.phone::after {
  content:'';
  position:absolute;
  background:linear-gradient(90deg,#1b232e,#5c6877);
  width:3px;
  border-radius:3px;
  z-index:-1;
}

.phone::before {
  height:64px;
  right:-3px;
  top:144px;
}

.phone::after {
  height:48px;
  left:-3px;
  top:157px;
}

.phone-island {
  position:absolute;
  top:15px;
  left:50%;
  transform:translateX(-50%);
  width:86px;
  height:23px;
  border-radius:25px;
  background:#070b11;
  z-index:5;
  box-shadow:inset 0 0 0 1px #ffffff05;
}

.phone-island::after {
  content:'';
  position:absolute;
  right:9px;
  top:7px;
  width:8px;
  height:8px;
  border-radius:50%;
  background:radial-gradient(circle at 60% 40%,#182a4d,#05080e);
  box-shadow:0 0 0 2px #10141b;
}

.phone-status {
  position:absolute;
  top:20px;
  left:26px;
  right:23px;
  z-index:6;
  display:flex;
  align-items:center;
  justify-content:space-between;
  color:#edf1f7;
  font-size:10px;
  font-weight:600;
}

.status-symbols {
  display:flex;
  align-items:center;
  gap:5px;
}

.status-symbols>svg {
  width:27px;
  height:11px;
}

.status-symbols>i {
  width:18px;
  height:9px;
  display:block;
  border:1px solid #e1e8f4;
  border-radius:3px;
  padding:1px;
  position:relative;
}

.status-symbols>i::before {
  content:'';
  display:block;
  width:100%;
  height:100%;
  background:#e1e8f4;
  border-radius:1px;
}

.status-symbols>i::after {
  content:'';
  position:absolute;
  right:-3px;
  top:2px;
  width:1px;
  height:3px;
  background:#e1e8f4;
}

.home-indicator {
  position:absolute;
  bottom:13px;
  left:50%;
  transform:translateX(-50%);
  width:98px;
  height:4px;
  border-radius:9px;
  background:#d2d9e6;
  z-index:6;
}

.closing {
  min-height:610px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  padding:85px 24px 75px;
  text-align:center;
  scroll-margin-top:40px;
  background:linear-gradient(180deg,var(--paper),#e7eef8);
}

.app-mark {
  width:68px;
  height:68px;
  border-radius:20px;
  overflow:hidden;
  box-shadow:0 8px 25px #3d6eb31a;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
}

.app-mark>.frugal-emblem {
  width:100%;
  height:100%;
  border-radius:inherit;
}

.closing>h2 {
  font-size:clamp(48px,5.7vw,76px);
  line-height:1.05;
  letter-spacing:-.055em;
  font-weight:500;
  margin-top:30px;
}

.closing>h2>span {
  color:var(--blue);
}

.closing>.button {
  margin-top:32px;
}

.closing>p {
  font-size:10px;
  color:var(--secondary);
  margin-top:17px;
}

.footer {
  display:flex;
  align-items:center;
  gap:30px;
  max-width:1000px;
  padding:28px 30px;
  margin:auto;
  color:var(--secondary);
  font-size:9px;
  background:var(--paper);
}

.footer .brand {
  font-size:23px;
  color:var(--ink);
}

.footer .frugal-emblem {
  width:25px;
  height:25px;
}

.footer>span {
  margin-left:auto;
}

.footer>a:last-child {
  color:#60738e;
}

@media(min-width:1400px) {
.hero-product {
    width:278px;
    height:296px;
    top:55%;
  }

}

@media(max-height:720px) and (min-width:701px) {
.hero-copy {
    padding-top:146px;
  }

.hero h1 {
    font-size:86px;
  }

.hero-product {
    width:215px;
    height:229px;
    top:59%;
  }

.hero-copy>p {
    margin-top:15px;
  }

.hero-copy>.button {
    margin-top:22px;
  }

}

@media(max-width:700px) {
.site-header {
    top:13px;
    padding-inline:16px;
  }

.nav-shell {
    height:52px;
    padding:0 9px 0 17px;
    gap:16px;
  }

.brand {
    font-size:24px;
    gap:5px;
  }

.brand>.frugal-emblem {
    width:28px;
    height:28px;
  }

.nav-how {
    font-size:10px;
  }

.nav-download {
    font-size:10px;
    padding:11px 14px;
    gap:8px;
  }

.nav-download>.icon {
    width:13px;
    height:13px;
  }

.hero {
    min-height:650px;
  }

.hero-copy {
    padding:clamp(148px,22svh,205px) 21px 0;
  }

.hero h1 {
    font-size:clamp(52px,11.6vw,78px);
    line-height:1.05;
  }

.hero h1>span {
    display:block;
  }

.hero-copy>p {
    font-size:14px;
    margin-top:20px;
  }

.hero-copy>.button {
    margin-top:24px;
  }

.button {
    font-size:13px;
    min-height:50px;
    padding:14px 23px;
  }

.hero-product {
    width:212px;
    height:226px;
    top:61%;
  }

.hero-price {
    right:-47px;
    bottom:39px;
    padding:11px 15px;
    gap:10px;
  }

.hero-price>s {
    font-size:12px;
  }

.hero-price>b {
    font-size:21px;
  }

.hero-price>.icon {
    width:14px;
    height:14px;
  }

.scroll-link {
    bottom:21px;
    font-size:7px;
  }

.closing {
    min-height:540px;
    padding:80px 22px 65px;
  }

.closing>h2 {
    font-size:52px;
    margin-top:27px;
  }

.closing>.button {
    margin-top:28px;
  }

.app-mark {
    width:59px;
    height:59px;
    border-radius:18px;
  }

.app-mark>.frugal-emblem {
    width:100%;
    height:100%;
  }

.footer {
    gap:18px;
    padding:24px 22px;
    font-size:8px;
  }

.footer .brand {
    font-size:20px;
  }

}

@media(max-width:380px) {
.nav-shell {
    gap:12px;
  }

.nav-how {
    font-size:9px;
  }

.nav-download {
    padding-inline:12px;
    font-size:9px;
  }

.hero h1 {
    font-size:51px;
  }

.hero-product {
    width:190px;
    height:203px;
    top:62%;
  }

.hero-price {
    right:-40px;
  }

.closing>h2 {
    font-size:47px;
  }

.footer {
    gap:13px;
  }

}

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

*,*::before,*::after {
    animation:none!important;
    transition:none!important;
  }

.app-screen {
    transform:none;
  }

}
