:root {
  color-scheme: dark;
  --night: #111321;
  --line: #38394b;
  --text: #faf6ef;
  --muted: #c4c0cc;
  --orange: #ff9a50;
  font: 100%/1.55 Inter, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--night);
}
* { box-sizing: border-box; }
body { margin: 0; }
.wrap { width: min(76rem, 89%); margin-inline: auto; }
a { color: inherit; }
a:focus-visible, summary:focus-visible { outline: 3px solid #ffc480; outline-offset: 4px; }
.skip { position: absolute; top: -5rem; left: 1rem; z-index: 4; background: var(--night); padding: .6rem 1rem; }
.skip:focus { top: .5rem; }
.mast, .foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.mast { min-height: 5rem; }
.brand, .wordmark { font-weight: 850; letter-spacing: .035em; }
.brand { display: flex; align-items: center; gap: .3em; font-size: 1.36rem; text-decoration: none; }
.brand img { border-radius: .55rem; margin-right: .25rem; }
.brand span, .wordmark em { color: var(--orange); font-style: normal; }
nav { display: flex; gap: clamp(1.2rem, 3vw, 2.8rem); }
nav a, .account, .foot a { text-decoration: none; }
nav a:hover, .foot a:hover, .mail:hover { color: var(--orange); }
.account { border: 1px solid #635d6a; border-radius: 2rem; padding: .52rem 1.15rem; font-weight: 650; }
.account:hover { border-color: var(--orange); }
.hero { position: relative; isolation: isolate; overflow: hidden; background: #070a1c; border-block: 1px solid var(--line); }
.landscape { position: absolute; z-index: -1; width: 68%; inset: 0 0 0 auto; background: linear-gradient(90deg, #070a1c, transparent 34%), url("assets/ararat.jpg") right center / 168% auto no-repeat; }
.hero-inner { display: flex; align-items: center; min-height: clamp(32rem, 47vw, 42rem); padding-block: 3.25rem; }
.hero-copy { max-width: 32rem; }
h1, h2, h3, p { margin: 0; }
h1, h2 { letter-spacing: -.055em; line-height: 1.01; }
h1 { font-size: clamp(3.5rem, 5.9vw, 6.1rem); font-weight: 720; }
h1 em { font-style: normal; color: var(--orange); }
.hero-copy p { margin-block: 1.2rem 1.5rem; max-width: 25rem; color: #e6e2e8; font-size: 1.08rem; }
.button { display: inline-flex; align-items: center; justify-content: center; background: #ff994f; color: #21130b; font-weight: 750; padding: .9rem 1.45rem; border-radius: 2rem; text-decoration: none; }
.button:hover { background: #ffb57e; }
.trial-note, .plan-note { color: var(--muted); font-size: .92rem; }
.trial-note { margin-top: .8rem; }
.section { padding-block: clamp(3rem, 6vw, 6rem); }
h2 { font-weight: 680; font-size: clamp(2.2rem, 4vw, 3.8rem); }
h3, summary { font-size: 1.15rem; line-height: 1.35; }
.intro, .steps p, .answers p { color: var(--muted); }
.intro { max-width: 35rem; margin-block: 1rem 1.4rem; }
.devices, .help { display: grid; grid-template-columns: .88fr 1.12fr; gap: clamp(2rem, 7vw, 7rem); }
.steps { margin: 0; padding: 0 0 0 1.8rem; }
.steps li { padding: .15rem 0 1.15rem .65rem; }
.steps li + li { border-top: 1px solid var(--line); padding-top: 1.15rem; }
.steps li:last-child { padding-bottom: 0; }
.steps li::marker { color: var(--orange); font-weight: bold; }
.steps p, .answers p { margin-top: .45rem; }
.plans { background: #1b1b2b; border-block: 1px solid var(--line); }
.prices { display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; margin: 2rem 0 1rem; padding: 0; border-top: 1px solid #555369; }
.prices li { padding: 1.2rem clamp(.8rem, 2vw, 2rem) .5rem; border-left: 1px solid #555369; }
.prices li:first-child { border-left: none; padding-left: 0; }
.prices h3 { font-weight: 500; color: #e0dbe4; }
.prices p { margin-top: .9rem; font-size: 1.3rem; }
.prices strong { font-size: clamp(2.1rem, 4vw, 3.45rem); line-height: 1; letter-spacing: -.055em; font-variant-numeric: lining-nums; }
.mail { text-underline-offset: .27em; font-weight: 650; }
details { border-top: 1px solid var(--line); }
details:last-child { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1.2rem; font-weight: 650; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--orange); font-weight: 500; }
details[open] summary::after { content: "−"; }
.answers p { margin: 0 0 1.3rem; }
footer { border-top: 1px solid var(--line); }
.foot { min-height: 5rem; }
@media (max-width: 48rem) {
  .mast { flex-wrap: wrap; padding-block: .7rem; gap: .6rem; }
  nav { width: 100%; justify-content: space-between; order: 2; border-top: 1px solid var(--line); padding-top: .6rem; gap: .45rem; }
  .hero-inner { min-height: 34rem; align-items: end; padding-block: 2rem; }
  .landscape { width: 100%; background-image: linear-gradient(0deg, #070a1c 12%, rgba(7,10,28,.84) 43%, rgba(7,10,28,.12) 80%), url("assets/ararat.jpg"); background-size: auto, 168% auto; background-position: center, right 32%; }
  .hero-copy { padding-top: 6rem; }
  .hero-copy p { max-width: 31rem; }
  .devices, .help { grid-template-columns: 1fr; gap: 1rem; }
  .prices { grid-template-columns: repeat(2, 1fr); }
  .prices li { padding: 1rem; }
  .prices li:nth-child(odd) { border-left: 0; padding-left: 0; }
  .prices li:nth-child(n+3) { border-top: 1px solid #555369; }
}
@media (max-width: 24rem) {
  .wrap { width: 91%; }
  .brand { font-size: 1.12rem; }
  .brand img { width: 2rem; height: 2rem; }
  .account { padding: .45rem .8rem; }
  h1 { font-size: 3rem; }
}

/* Page navigation and shared article layout */
nav [aria-current="page"] { color: var(--orange); text-decoration: underline; text-underline-offset: .42em; }
.crumb { color: var(--muted); font-size: .94rem; padding-top: 2rem; }
.crumb span { color: var(--orange); padding-inline: .5rem; }
.pagehead { padding-block: clamp(2.5rem,5vw,5.2rem) 2.5rem; }
.pagehead h1 { font-size: clamp(2.65rem,6.2vw,5.7rem); overflow-wrap: anywhere; }
.pagehead p, .sectionhead p, .personal p, .invitation p, .trialcard p, .toolpanel > p, .side p { max-width: 46rem; margin-top: 1rem; color: var(--muted); font-size: 1.06rem; }
.sectionhead { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 2rem; margin-bottom: 2.2rem; }
.sectionhead p { margin: 0; }
.textlink, .reading a, .plainsteps a { color: var(--orange); font-weight: 650; text-underline-offset: .3em; }
.textlink:hover, .reading a:hover { color: #ffceaa; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.hero-copy .actions { margin-top: 1.2rem; }
h3 { overflow-wrap: break-word; }
.button { border: 0; cursor: pointer; font-family: inherit; font-size: 1rem; }
button:focus-visible, select:focus-visible, input:focus-visible { outline: 3px solid #ffc480; outline-offset: 3px; }
.section + .section { border-top: 1px solid var(--line); }
.facts, .band { background: #191a2b; border-block: 1px solid var(--line); }
.facts dl { display: grid; grid-template-columns: repeat(4,1fr); margin-block: 0; }
.facts dl > div { padding: 1.4rem 1rem 1.4rem 0; }
.facts dt, .prices small, .hint, .resources span, .apphead span, .mini small { font-size: .94rem; color: var(--muted); }
.facts dd { font-size: clamp(1.25rem,2.4vw,2rem); margin: .25rem 0 0; font-weight: 700; }
.atlas, .personal, .trialcard { display: grid; grid-template-columns: 1.05fr .95fr; border-radius: 1.25rem; overflow: hidden; }
.atlas { border: 1px solid var(--line); }
.routeintro { background: radial-gradient(ellipse at 70% 105%,#723a4a,transparent 65%),#2b2234; padding: 2.2rem; }
.routeintro p, .journey p, .appcard p, .command p, .reading p { color: var(--muted); }
.routeintro h3, .apphead h2, .side h2, .toolpanel h2, .trialcard h2 { font-size: clamp(1.5rem,2.6vw,2.3rem); }
.routeintro p { max-width: 30rem; }
.routeintro .textlink, .journey a, .side .textlink { display: inline-block; margin-top: .9rem; }
.star { font-size: 2.85rem; display: block; color: var(--orange); line-height: 1; margin-bottom: 1rem; }
.locations, .resources, .mini ul { list-style: none; padding: 0; margin: 0; }
.locations { padding: 1rem 2rem; background: #1d2033; display: flex; flex-direction: column; justify-content: center; }
.locations li, .resources li, .command, .apphead { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.locations li { padding: 1rem 0; }
.locations li + li, .resources li, .command { border-top: 1px solid var(--line); }
.locations b { flex: 1; font-size: 1.16rem; }
.locations li > span:last-child { color: var(--muted); font-family: ui-monospace, monospace; }
.flag, .countryemoji { width: 1.9rem; height: 1.28rem; display: inline-block; border-radius: .18rem; }
.countryemoji { font-size: 1.6rem; line-height: 1; height: auto; }
.flag.pl { background: linear-gradient(white 50%, #db2647 50%); }
.flag.de { background: linear-gradient(#14151c 33%,#c82b3a 33% 66%,#f2ad3b 66%); outline: 1px solid #59505e; }
.journey { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.2rem; }
.journey article, .appcard, .toolpanel, .side { border: 1px solid var(--line); border-radius: 1.15rem; background: #1a1c2c; padding: clamp(1.25rem,2.6vw,2.6rem); }
.journey article { display: flex; align-items: start; flex-direction: column; background: var(--night); }
.journey h3 { font-size: 1.42rem; }
.journey p { flex: 1; margin-block: .8rem; }
.prices small { display: block; margin-top: .6rem; }
.personal { background: linear-gradient(118deg,#2c1f32,#222941); gap: 2rem; padding: clamp(1.6rem,4vw,4rem); align-items: center; }
.personal .button, .toolpanel > .button { margin-top: 1.35rem; }
.mini { background: #181826; padding: 1.35rem; border-radius: 1.1rem; max-width: 26rem; width: 100%; justify-self: center; border: 1px solid #504253; }
.mini strong { color: var(--orange); letter-spacing: .05em; }
.mini ul { display: grid; grid-template-columns: 1fr 1fr; gap: .45rem; margin: .9rem 0; }
.mini li { padding: .6rem .45rem; text-align: center; background: #313047; border-radius: .5rem; font-size: .97rem; }
.mini li:first-child { grid-column: 1/-1; }
.invitation, .trialcard { background: #f0ad76; color: #211b24; padding: clamp(1.5rem,3.8vw,3.5rem); gap: 2rem; display: flex; align-items: center; justify-content: space-between; border-radius: 1.2rem; }
.invitation { margin-bottom: 4.5rem; }
.invitation h2 { font-size: clamp(1.9rem,3.6vw,3.2rem); }
.invitation p, .trialcard p { color: #342735; }
.invitation .button, .trialcard .button { background: #232133; color: #fff6ec; flex-shrink: 0; }
.footgrid { display: grid; grid-template-columns: 1.1fr repeat(3,1fr); gap: 1.2rem; padding-block: 2.5rem; }
.footgrid a { display: block; width: fit-content; color: var(--muted); text-decoration: none; margin-block: .38rem; overflow-wrap: anywhere; }
.footgrid a:hover { color: var(--orange); text-decoration: underline; }
.footgrid .wordmark { color: var(--text); font-size: 1.45rem; }
.footgrid h3 { font-size: 1rem; }
.contentgrid { display: grid; grid-template-columns: 1.25fr .75fr; align-items: start; gap: clamp(1.3rem,3.5vw,3.2rem); }
main > .contentgrid:last-child, .reading { padding-bottom: 5rem; }
.contentgrid > section > h2 { font-size: clamp(1.65rem,3vw,2.4rem); margin: .75rem 0 1.5rem; }
.side { background: #202034; }
.side .button { margin-top: 1rem; }
.side hr { border: 0; border-top: 1px solid var(--line); margin-block: 1.5rem; }
.plainsteps { padding-left: 1.25rem; }
.plainsteps li + li { margin-top: .8rem; }
.toolpanel label { display: block; margin: 1.1rem 0 .4rem; font-weight: 650; }
.toolpanel select, .toolpanel input { width: 100%; padding: .85rem; border: 1px solid #716e83; border-radius: .6rem; background-color: #111321; color: var(--text); font: inherit; }
.toolpanel select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #ffb987 51%),linear-gradient(135deg,#ffb987 50%,transparent 51%); background-position: calc(100% - 1.1rem) 50%,calc(100% - .8rem) 50%; background-size: .35rem .35rem; background-repeat: no-repeat; }
.toolpanel input[aria-invalid="true"] { border-color: #ff9879; }
.hint { margin: .7rem 0 1.25rem; }
.feedback { color: #ffc9ad; margin: .8rem 0 0; }
.feedback:empty { display: none; }
.chooser { display: flex; flex-wrap: wrap; justify-content: start; gap: .6rem; width: auto; padding: 0; margin-bottom: 1.5rem; border: 0; }
.chooser a { padding: .5rem 1rem; border: 1px solid #655468; border-radius: 2rem; text-decoration: none; }
.appgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.appcard { display: flex; flex-direction: column; align-items: stretch; scroll-margin-top: 1rem; }
.appcard:target { border-color: var(--orange); }
.appcard p { margin-block: 1rem 1.5rem; flex: 1; }
.resources li, .command { padding: 1.2rem 0; }
.resources a { white-space: nowrap; }
.command { align-items: start; }
.command:first-of-type { margin-top: 1.25rem; }
.command code { background: #302638; color: #ffba88; padding: .24rem .5rem; border-radius: .35rem; }
.tablewrap { overflow-x: auto; margin-block: 2rem 1rem; }
table { border-collapse: collapse; width: 100%; text-align: start; }
caption { text-align: left; color: var(--muted); margin-bottom: .8rem; }
td, th { text-align: left; padding: .8rem .55rem; border-bottom: 1px solid var(--line); }
tbody td { white-space: nowrap; }
.reading { max-width: 52rem; margin-left: max(5.5%,calc((100% - 76rem)/2)); }
.reading section { margin-bottom: 1.55rem; }
.reading h2 { font-size: 1.5rem; letter-spacing: -.025em; margin-bottom: .55rem; }
@media (max-width: 52rem) {
  .mast { flex-wrap: wrap; padding-block: .75rem; }
  .mast nav { width: 100%; order: 2; justify-content: space-between; flex-wrap: wrap; gap: .45rem 1rem; }
  .journey { grid-template-columns: 1fr; }
  .sectionhead, .contentgrid { grid-template-columns: 1fr; gap: 1.15rem; }
  .footgrid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 40rem) {
  .appgrid, .atlas, .personal { grid-template-columns: 1fr; }
  .facts dl { grid-template-columns: 1fr 1fr; }
  .facts dl > div { padding-block: .75rem; }
  .invitation, .trialcard { align-items: start; flex-direction: column; gap: .8rem; }
  .routeintro, .locations { padding: 1.35rem; }
  .resources li { flex-wrap: wrap; }
  .command { gap: .6rem; }
  .pagehead { padding-block: 1.7rem; }
  .chooser { flex-wrap: wrap; }
  .mast nav a { font-size: .96rem; }
  td, th { padding: .6rem .25rem; font-size: .88rem; }
}
