/* portway.app: one stylesheet for every page. Colors come from the app icon. */

/* Plus Jakarta Sans (SIL Open Font License, see fonts/OFL.txt), served from this site so pages make no third-party requests. */
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("fonts/plus-jakarta-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("fonts/plus-jakarta-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #0B1222;
  --body: #3A4660;
  --muted: #4A5670;
  --blue: #0054FF;
  --blue-press: #003FC2;
  --navy: #001D78;
  --indigo: #1F45B8;
  --sky: #EAF2FF;
  --sky-2: #F6FAFF;
  --paper: #F4F7FC;
  --line: #E3EAF7;
  --mint: #00806A;
  --mint-bg: #DDF7F0;
  --mint-blob: #C9F5EA;
  --pink: #C2185B;
  --pink-accent: #D12A74;
  --pink-bg: #FFE3EF;
  --pink-blob: #FFE0EE;
  --gold: #8A5A00;
  --gold-bg: #FCEBB8;
  --font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --sf: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
  --gutter: clamp(20px, 5vw, 80px);
  --max: 1120px;
  --shadow: 0 20px 50px rgba(0, 29, 120, 0.18);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 19px;
  line-height: 1.6;
  color: var(--ink);
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); }
a:hover { color: var(--blue-press); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { margin: 0; color: var(--ink); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
h1 { font-size: clamp(40px, 5.2vw, 66px); letter-spacing: -0.035em; line-height: 1.05; }
h2 { font-size: clamp(30px, 3.6vw, 46px); }
h3 { font-size: 21px; line-height: 1.25; letter-spacing: -0.02em; }
p { margin: 0; color: var(--body); }
ul, ol { margin: 0; padding: 0; list-style: none; }

.skip { position: absolute; left: -9999px; top: 12px; z-index: 10; background: #ffffff; padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip:focus { left: 12px; }
.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.lede { font-size: clamp(19px, 1.8vw, 21px); }
.hl { color: var(--blue); font-weight: 700; }
.eyebrow { font-size: 17px; font-weight: 700; color: var(--blue); }
.eyebrow.mint { color: var(--mint); }
.eyebrow.indigo { color: var(--indigo); }
.eyebrow.pink { color: var(--pink-accent); }
.eyebrow.gold { color: var(--gold); }
.center { text-align: center; align-items: center; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.more-link { font-size: 19px; font-weight: 700; }
.icon {
  width: 48px; height: 48px; flex-shrink: 0; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: var(--sky); color: var(--blue);
}
.icon svg { width: 24px; height: 24px; }
.icon.mint { background: var(--mint-bg); color: var(--mint); }
.icon.pink { background: var(--pink-bg); color: var(--pink); }
.icon.gold { background: var(--gold-bg); color: var(--gold); }
.icon.grey { background: #EEF0F6; color: var(--body); }
.icon.white { background: #ffffff; color: var(--blue); }
.tag { font-size: 13px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: #E6EBF3; color: var(--body); white-space: nowrap; }
.tag.new { background: var(--mint-bg); color: #00664F; font-weight: 800; }

/* ---------- header ---------- */
.site-header { position: absolute; top: 0; left: 0; right: 0; z-index: 2; }
.top { position: relative; overflow: hidden; padding-top: 88px; background: linear-gradient(180deg, #EAF2FF 0%, #F6FAFF 70%, #FFFFFF 100%); }
.top > .wrap { position: relative; }
@media (max-width: 700px) { .top { padding-top: 68px; } }
.paths { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.nav { position: relative; height: 88px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--navy); text-decoration: none; font-size: 24px; font-weight: 800; letter-spacing: -0.02em; }
.brand img { width: 44px; height: 44px; border-radius: 10px; box-shadow: 0 3px 8px rgba(0, 29, 120, 0.2); }
.nav ul { display: flex; align-items: center; gap: 4px; }
.nav a.link { display: block; font-size: 18px; font-weight: 600; color: var(--ink); text-decoration: none; padding: 12px 14px; border-radius: 12px; }
.nav a.link:hover { background: rgba(0, 84, 255, 0.08); }
.nav a.link[aria-current="page"] { color: var(--blue); font-weight: 700; }
.nav a.get { display: block; margin-left: 10px; font-size: 17px; font-weight: 700; color: #ffffff; background: var(--blue); text-decoration: none; padding: 12px 22px; border-radius: 999px; }
.nav a.get:hover { background: var(--blue-press); color: #ffffff; }
@media (max-width: 700px) {
  .nav { height: 68px; }
  .brand { font-size: 21px; gap: 10px; }
  .brand img { width: 36px; height: 36px; border-radius: 8px; }
  .nav a.link { font-size: 16px; padding: 12px 8px; }
  .nav .wide-only { display: none; }
}

/* ---------- App Store badge: Apple's official art, from Apple Marketing Tools. Don't edit or recolor it. ---------- */
.appstore { display: inline-block; line-height: 0; border-radius: 10px; }
.appstore img { height: 58px; width: auto; }
.get-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.get-row .get-note { font-size: 17px; color: var(--body); }

/* ---------- hero ---------- */
.hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 600px); gap: 40px; align-items: center; padding-block: 30px 60px; min-height: 700px; }
.hero-text { display: flex; flex-direction: column; gap: 26px; }
.byline { display: flex; align-items: center; gap: 12px; font-size: 17px; line-height: 1.45; color: var(--body); }
.avatar { border-radius: 50%; object-fit: cover; border: 3px solid #ffffff; box-shadow: 0 6px 16px rgba(0, 29, 120, 0.16); }
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; min-height: 0; padding-block: 20px 40px; }
  .hero-visual { width: 100%; max-width: 520px; justify-self: center; }
}

/* ---------- compositions: every size is a share of the composition's width (cqw) ---------- */
.comp { position: relative; width: 100%; container-type: inline-size; }
.comp > * { position: absolute; }
.comp .blob { height: auto; }
.device { border-style: solid; border-color: #0E1320; overflow: hidden; background: #ffffff; box-shadow: 0 30px 60px rgba(0, 29, 120, 0.22); }
.device img { width: 100%; height: auto; }
.device .island { position: absolute; left: 50%; transform: translateX(-50%); background: #0E1320; border-radius: 999px; }
.crop { overflow: hidden; box-shadow: var(--shadow); }
.crop img { width: 100%; height: auto; }
.narrow-only { display: none; }
@media (max-width: 700px) {
  .wide-comp { display: none; }
  .narrow-only { display: block; }
}

/* ---------- how it works ---------- */
.flow { padding-block: 100px; display: flex; flex-direction: column; gap: 54px; }
.flow-steps { position: relative; display: grid; grid-template-columns: repeat(4, 250px); justify-content: space-between; row-gap: 48px; }
.flow-steps > li { display: flex; flex-direction: column; gap: 22px; }
.flow-steps .step-title { display: flex; align-items: center; gap: 12px; }
.num { width: 36px; height: 36px; flex-shrink: 0; border-radius: 18px; background: var(--blue); color: #ffffff; font-size: 18px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.flow-steps p { font-size: 18px; line-height: 1.55; }
.panel { position: relative; width: 250px; height: 300px; }
.panel > * { position: absolute; }
.flow-arrow { position: absolute; top: 128px; width: 86px; height: 40px; }
.flow-down { display: none; margin: 0 auto; }
@media (max-width: 1180px) {
  .flow-steps { grid-template-columns: repeat(2, 250px); justify-content: space-evenly; }
  .flow-arrow { display: none; }
}
@media (max-width: 640px) {
  .flow { padding-block: 56px; gap: 30px; }
  .flow-steps { grid-template-columns: 1fr; justify-items: center; row-gap: 6px; }
  .flow-steps > li { width: 100%; max-width: 350px; align-items: center; }
  .flow-steps .step-text { align-self: stretch; }
  .flow-down { display: block; }
}

/* ---------- feature bands ---------- */
.band { display: grid; grid-template-columns: minmax(0, 470px) minmax(0, 560px); justify-content: space-between; align-items: center; gap: 60px; padding-block: 50px; }
.band.flip .band-text { order: 2; }
.band-text { display: flex; flex-direction: column; gap: 18px; }
.band-text p { font-size: 20px; }
.band-visual { width: 100%; }
@media (max-width: 960px) {
  .band { grid-template-columns: 1fr; gap: 28px; padding-block: 40px; }
  .band.flip .band-text { order: 0; }
  .band-visual { max-width: 560px; justify-self: center; }
}
/* ---------- tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; padding-block: 60px 30px; }
.tile { position: relative; height: 620px; background: var(--paper); border-radius: 36px; padding: 44px 44px 0; overflow: hidden; display: flex; flex-direction: column; gap: 14px; }
.tile h2 { font-size: 36px; line-height: 1.12; }
.tile p { max-width: 440px; }
.tile .comp { margin-top: 10px; }
.tiles-more { text-align: center; padding-bottom: 30px; }
@media (max-width: 900px) {
  .tiles { grid-template-columns: 1fr; }
  .tile { height: 540px; padding: 32px 28px 0; }
}

/* ---------- devices ---------- */
.devices { padding-block: 100px; display: flex; flex-direction: column; align-items: center; gap: 48px; }
.devices-head { max-width: 820px; display: flex; flex-direction: column; gap: 14px; text-align: center; align-items: center; }
.roles { width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.role { display: flex; gap: 16px; align-items: flex-start; }
.role h3 { margin-bottom: 4px; }
.role p { font-size: 18px; line-height: 1.55; }
.mac { border-radius: 1.25cqw; overflow: hidden; background: #ffffff; border: 1px solid #D5DDEA; box-shadow: 0 30px 70px rgba(0, 29, 120, 0.20); display: flex; flex-direction: column; }
.mac .bar { height: 7.3%; min-height: 14px; display: flex; align-items: center; gap: 0.7cqw; padding: 0 1.2cqw; background: #F6F8FC; border-bottom: 1px solid #E3E8F0; }
.mac .bar i { width: 1.1cqw; height: 1.1cqw; border-radius: 50%; display: block; }
.mac .screen { position: relative; flex-grow: 1; display: grid; grid-template-columns: 26% 1fr 1fr; grid-template-rows: 22% 1fr; gap: 2%; padding: 2%; }
.mac .screen span { border-radius: 0.8cqw; background: #F4F7FC; }
.mac .screen .side { grid-row: 1 / 3; background: #F1F4FA; }
.mac .screen .wide { grid-column: 2 / 4; background: #EEF3FC; }
.mac .label { position: absolute; left: 50%; top: 55%; transform: translate(-50%, -50%); font-size: max(11px, 1.35cqw); font-weight: 700; color: var(--muted); background: #ffffff; border: 1px dashed #9AA8C0; padding: 0.7em 1.2em; border-radius: 999px; white-space: nowrap; }
.narrow-only .mac .label { top: 30%; }
@media (max-width: 900px) { .roles { grid-template-columns: 1fr; gap: 22px; } }
@media (max-width: 640px) { .devices { padding-block: 56px; gap: 28px; } }

/* ---------- privacy band ---------- */
.privacy-band { background: var(--sky); border-radius: 36px; padding: clamp(32px, 5vw, 64px); display: flex; flex-direction: column; gap: 40px; }
.privacy-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.privacy-cols > div { display: flex; flex-direction: column; gap: 12px; }
@media (max-width: 800px) { .privacy-cols { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- pricing ---------- */
.pricing { padding-block: 90px 30px; display: flex; flex-direction: column; gap: 40px; }
.prices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; max-width: 900px; width: 100%; margin: 0 auto; }
.price { background: var(--paper); border-radius: 30px; padding: 36px; display: flex; flex-direction: column; gap: 14px; }
.price.best { background: var(--sky); }
.price .label { font-size: 18px; font-weight: 700; color: var(--body); }
.price .amount { display: flex; align-items: baseline; gap: 8px; }
.price .amount strong { font-size: 52px; font-weight: 800; letter-spacing: -0.03em; }
.price ul { display: flex; flex-direction: column; gap: 10px; font-size: 18px; line-height: 1.45; }
.price li { display: flex; gap: 10px; align-items: flex-start; }
.price li .icon { width: 24px; height: 24px; border-radius: 12px; }
.price li .icon svg { width: 14px; height: 14px; }
@media (max-width: 760px) { .prices { grid-template-columns: 1fr; } .price .amount strong { font-size: 44px; } }

/* ---------- the note from Corey ---------- */
.note { position: relative; overflow: hidden; background: linear-gradient(180deg, #FFFFFF 0%, #EEF5FF 100%); }
.note-body { position: relative; max-width: 680px; margin: 0 auto; padding: 90px var(--gutter) 80px; display: flex; flex-direction: column; gap: 22px; }
.note-body h2 { font-size: clamp(30px, 3.2vw, 40px); line-height: 1.12; }
.note-body p { font-size: clamp(18px, 1.8vw, 21px); line-height: 1.65; }
.made-in { display: flex; align-items: center; gap: 10px; margin-top: 16px; font-size: 18px; color: var(--body); }

/* ---------- closing call to action ---------- */
.cta { position: relative; overflow: hidden; background: var(--blue); border-radius: 40px; padding: clamp(40px, 5vw, 72px) clamp(26px, 5vw, 64px); display: flex; align-items: center; justify-content: space-between; gap: 40px; margin-block: 0 80px; }
.cta .paths { opacity: 1; }
.cta-text { position: relative; display: flex; align-items: center; gap: 28px; }
.cta-text img { width: 112px; height: 112px; border-radius: 25px; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25); }
.cta h2 { color: #ffffff; font-size: clamp(30px, 3.4vw, 44px); }
.cta p { color: #DCE8FF; margin-top: 10px; }
.cta .appstore { position: relative; }
@media (max-width: 760px) {
  .cta { flex-direction: column; align-items: flex-start; }
  .cta-text { flex-direction: column; align-items: flex-start; gap: 18px; }
  .cta-text img { width: 84px; height: 84px; border-radius: 19px; }
}

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); }
.footer .wrap { padding-block: 36px 44px; display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap; }
.footer .brand { font-size: 20px; }
.footer .brand img { width: 32px; height: 32px; border-radius: 7px; box-shadow: none; }
.footer small { display: block; margin-top: 10px; font-size: 16px; color: var(--body); }
.footer ul { display: flex; gap: 8px 28px; flex-wrap: wrap; font-size: 17px; font-weight: 600; }
.footer ul a { color: var(--body); text-decoration: none; display: inline-block; padding: 8px 0; }
.footer ul a:hover { color: var(--blue); }

/* ---------- inner pages ---------- */
.page-head { position: relative; padding-block: 50px 60px; max-width: 820px; display: flex; flex-direction: column; gap: 16px; }
.page-head h1 { font-size: clamp(40px, 4.6vw, 56px); }
.section { padding-block: 32px; display: flex; flex-direction: column; gap: 24px; }
.cards-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.cards-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.card { background: var(--paper); border-radius: 28px; padding: 30px; display: flex; flex-direction: column; gap: 14px; }
.card p { font-size: 19px; line-height: 1.55; }
.steps { display: flex; flex-direction: column; gap: 12px; }
.steps li { display: flex; gap: 12px; align-items: flex-start; font-size: 19px; line-height: 1.5; }
.steps .num { width: 30px; height: 30px; font-size: 16px; }
.callout { border-radius: 28px; padding: 36px; display: flex; gap: 22px; align-items: flex-start; }
.callout.gold { background: #FFF7E0; }
.callout.pink { background: #FFF0F6; }
.callout h2 { font-size: clamp(26px, 2.6vw, 34px); margin-bottom: 10px; }
.callout p { color: var(--ink); }
.tips { border: 1px solid var(--line); border-radius: 28px; overflow: hidden; }
.tips .tip { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 24px; padding: 20px 28px; border-top: 1px solid var(--line); }
.tips .tip:first-child { border-top: 0; background: var(--paper); font-size: 15px; font-weight: 800; letter-spacing: 0.06em; color: var(--muted); }
.tips .tip strong { font-weight: 800; }
.mail-button { display: inline-flex; align-items: center; gap: 12px; height: 60px; padding: 0 28px; border-radius: 999px; background: var(--blue); color: #ffffff; font-size: 20px; font-weight: 700; text-decoration: none; align-self: flex-start; }
.mail-button:hover { background: var(--blue-press); color: #ffffff; }
.article { max-width: 780px; margin: 0 auto; padding-block: 30px 90px; display: flex; flex-direction: column; gap: 44px; }
.article h2 { font-size: 28px; letter-spacing: -0.02em; margin-bottom: 10px; }
.article p { color: var(--ink); font-size: 20px; line-height: 1.65; }
.short { background: var(--sky); border-radius: 30px; padding: 38px; display: flex; flex-direction: column; gap: 20px; }
.short li { display: flex; gap: 14px; align-items: flex-start; font-size: 20px; line-height: 1.5; }
.short .icon { width: 30px; height: 30px; border-radius: 15px; background: var(--mint); color: #ffffff; }
.short .icon svg { width: 18px; height: 18px; }
.jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.jump a { font-size: 16px; font-weight: 600; text-decoration: none; padding: 10px 16px; border-radius: 999px; }
.groups { display: flex; flex-direction: column; gap: 64px; padding-block: 24px 90px; }
.group h2 { font-size: clamp(28px, 3vw, 36px); display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.group h2 i { width: 14px; height: 14px; border-radius: 7px; display: block; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.feature { background: var(--paper); border-radius: 24px; padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.feature .head { display: flex; align-items: center; gap: 14px; }
.feature h3 { flex-grow: 1; font-size: 20px; }
.feature .icon { width: 44px; height: 44px; border-radius: 12px; }
.feature .icon svg { width: 22px; height: 22px; }
.feature p { font-size: 18px; line-height: 1.55; }
@media (max-width: 1000px) { .feature-grid, .cards-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) {
  .feature-grid, .cards-3, .cards-2 { grid-template-columns: 1fr; }
  .tips .tip { grid-template-columns: 1fr; gap: 4px; }
  .tips .tip:first-child { display: none; }
  .callout { flex-direction: column; padding: 28px; }
  .card { padding: 26px; }
}

/* ---------- gentle motion for the how-it-works graphic ---------- */
@keyframes pwMarch { to { stroke-dashoffset: -24; } }
@keyframes pwTwinkle { 0%, 100% { opacity: .3; transform: scale(.7); } 50% { opacity: 1; transform: scale(1.05); } }
@keyframes pwScan { 0% { transform: translateY(0); opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { transform: translateY(170px); opacity: 0; } }
@keyframes pwRipple { 0% { transform: scale(.85); opacity: .7; } 100% { transform: scale(1.8); opacity: 0; } }
@keyframes pwFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes pwGlow { 0%, 100% { box-shadow: 0 0 0 0 rgba(0, 168, 140, 0); } 50% { box-shadow: 0 0 0 7px rgba(0, 168, 140, .22); } }
.pw-march { animation: pwMarch 1.1s linear infinite; }
.pw-twinkle { animation: pwTwinkle 2.4s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.pw-scan { animation: pwScan 3.4s ease-in-out infinite; }
.pw-ripple { animation: pwRipple 2.2s ease-out infinite; }
.pw-float { animation: pwFloat 3.2s ease-in-out infinite; }
.pw-glow { animation: pwGlow 2.6s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) {
  .pw-march, .pw-twinkle, .pw-scan, .pw-ripple, .pw-float, .pw-glow { animation: none; }
}
